Venki Korukanti created DRILL-2857:
--------------------------------------
Summary: 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: Venki Korukanti
Fix For: 0.9.0
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)