You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2016/02/19 21:23:18 UTC

[jira] [Created] (HIVE-13098) Add a strict check for when the decimal gets converted to null due to insufficient width

Sergey Shelukhin created HIVE-13098:
---------------------------------------

             Summary: Add a strict check for when the decimal gets converted to null due to insufficient width
                 Key: HIVE-13098
                 URL: https://issues.apache.org/jira/browse/HIVE-13098
             Project: Hive
          Issue Type: Bug
            Reporter: Sergey Shelukhin


When e.g. 999999 is selected as decimal(5,0), the result is null. This can be problematic, esp. if the data is written to a table and lost without the user realizing it. There should be an option to error out in such cases instead; it should probably be on by default and the error message should instruct the user on how to disable it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)