You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Deneche A. Hakim (JIRA)" <ji...@apache.org> on 2016/05/04 23:48:13 UTC

[jira] [Created] (DRILL-4657) Rank() will return wrong results if a frame of data is too big (more than 2 batches)

Deneche A. Hakim created DRILL-4657:
---------------------------------------

             Summary: Rank() will return wrong results if a frame of data is too big (more than 2 batches)
                 Key: DRILL-4657
                 URL: https://issues.apache.org/jira/browse/DRILL-4657
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - Relational Operators
    Affects Versions: 1.3.0
            Reporter: Deneche A. Hakim
            Assignee: Deneche A. Hakim
            Priority: Critical
             Fix For: 1.7.0


When you run a query with RANK, and one particular frame is too long to fit in 2 batches of data, you will get wrong result.

I was able to reproduce the issue in a unit test, thanks to the fact that we can control the size of the batches processed by the window operator. I will post a fix soon along with the unit test



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)