You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Venki Korukanti (JIRA)" <ji...@apache.org> on 2015/04/25 01:29:38 UTC

[jira] [Updated] (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:all-tabpanel ]

Venki Korukanti updated DRILL-2857:
-----------------------------------
    Attachment: DRILL-2857-1.patch

Minor change. Will work with QA to add a test case as part of the functional run.

> 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
>
>         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)