jayzhan211 commented on issue #25052: URL: https://github.com/apache/datafusion/issues/25052#issuecomment-6981816428
@lyne7-sc thanks for checking first. I'd keep this PR to the plain fix from your first commit and move the uniqueness proofs to a follow-up. The plain fix is already shown correct: @sunchao's oracle passed all 512 bounded cases on it (224 failed before). The proofs are where new wrong results came from: twice in review, a new exception returned `[10, 20]` instead of `[10, 10]`. The cost is an extra sort for joins where the old rule happened to be right (a unique key on one side, and an ORDER BY that reaches into the other side's ordering). That seems acceptable for a wrong-results fix. @sunchao are you OK with landing the plain fix first and handling the streaming cases in a follow-up? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
