akurmustafa commented on issue #15833: URL: https://github.com/apache/datafusion/issues/15833#issuecomment-2843844600
I see, one alternative workaround would be adding `ORDER BY userPrimaryKey ` to your window function `row_number`. I am not sure how to do it with `row_number` but window functions accept `ORDER BY` clause. This might solve the problem. That would be make sure that "fileRowNumber" tracks the "usePrimaryKey". -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org