[ https://issues.apache.org/jira/browse/DRILL-4657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15274919#comment-15274919 ]
ASF GitHub Bot commented on DRILL-4657: --------------------------------------- Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/499#issuecomment-217587650 +1. LGTM > 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: Aman Sinha > 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)