Ingnored integer overflow
Hi, according to documentation: Add, subtract, and multiply operations ignore overflow. In our application built on Vertica we use several CREATE TABLE AS SELECT statements depending on each other so possible overflow error might leak through unnoticed, giving incorrect results in the end. Are there any plans that Vertica in some future version will throw an error in these situations instead of ignoring them? We might come into this (although rarely) with integer arithmetic so one obvious workaround is to use some other type with greater range, e.g. float. What are the drawbacks of this solution in terms of storage requirements and query performance?
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.