Chun Chang created DRILL-833:
--------------------------------

             Summary: When we overflow a bigint, we should indicate as such 
other than overflow to a negative number
                 Key: DRILL-833
                 URL: https://issues.apache.org/jira/browse/DRILL-833
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - Operators
            Reporter: Chun Chang
            Assignee: Mehant Baid


When we overflow a bigint, we turn it into a negative number, other than 
indicating it overflowed:

0: jdbc:drill:schema=dfs> select 9223372036854775807 + 1 from data limit 1;
+------------+
|   EXPR$0   |
+------------+
| -9223372036854775808 |
+------------+

postgres:

foodmart=# select 9223372036854775807 + 1;
ERROR:  bigint out of range



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to