You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Chun Chang (JIRA)" <ji...@apache.org> on 2014/05/24 01:04:01 UTC
[jira] [Created] (DRILL-833) When we overflow a bigint, we should
indicate as such other than overflow to a negative number
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)