alamb commented on PR #27772: URL: https://github.com/apache/datafusion/pull/27772#issuecomment-7255021653
> I reproduced an ORDER BY failure on 46cb924 when a custom optimizer pipeline runs WindowTopN immediately after OutputRequirements removes the output ordering marker. The query succeeds but returns pk as NULL, 1, 2. It should return 1, 2, NULL. yeah, this sounds like another thing we may have to sort out (aka what is expected of a plan without OutputRequirements removed) I think OutputRequirements basically encodes the final output ordering requirements, so if it is removed from the plan, I don't know how the optimizer passes would be able to keep the requirements. -- 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]
