[
https://issues.apache.org/jira/browse/DRILL-833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14007859#comment-14007859
]
Chun Chang commented on DRILL-833:
----------------------------------
#Fri May 23 08:42:45 PDT 2014
git.commit.id.abbrev=f948d71
> 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)