You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Steven Phillips (JIRA)" <ji...@apache.org> on 2015/04/27 23:41:39 UTC
[jira] [Commented] (DRILL-2857) Update the StreamingAggBatch
current workspace record counter variable type to "long" from current type
"int"
[ https://issues.apache.org/jira/browse/DRILL-2857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14515055#comment-14515055 ]
Steven Phillips commented on DRILL-2857:
----------------------------------------
+1
> Update the StreamingAggBatch current workspace record counter variable type to "long" from current type "int"
> -------------------------------------------------------------------------------------------------------------
>
> Key: DRILL-2857
> URL: https://issues.apache.org/jira/browse/DRILL-2857
> Project: Apache Drill
> Issue Type: Bug
> Components: Execution - Relational Operators
> Affects Versions: 0.8.0
> Reporter: Venki Korukanti
> Assignee: Steven Phillips
> Fix For: 0.9.0
>
> Attachments: DRILL-2857-1.patch
>
>
> This is causing invalid results in cases where the incoming batch has more than (2^31) - 1 records due to overflow issues.
> Example query: (make sure the nested query returns more than (2^31-1) records.
> {code}
> SELECT count(*) FROM
> (SELECT L_ORDERKEY,
> L_PARTKEY,
> L_SUPPKEY,
> count(*),
> count(l_quantity)
> FROM dfs.`lineitem`
> GROUP BY
> L_ORDERKEY,
> L_PARTKEY,
> L_SUPPKEY
> );
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)