[
https://issues.apache.org/jira/browse/DRILL-833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacques Nadeau resolved DRILL-833.
----------------------------------
Resolution: Won't Fix
> 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)