Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-4657

Rank() will return wrong results if a frame of data is too big (more than 2 batches)

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          People

            adeneche Abdel Hakim Deneche
            adeneche Abdel Hakim Deneche
            Abhishek Girish Abhishek Girish
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: