lichuang commented on PR #14180: URL: https://github.com/apache/datafusion/pull/14180#issuecomment-2607199146
@jonahgao in https://github.com/apache/datafusion/pull/10234#issuecomment-2087760241 comment: > I think that we should handle ORDER BY similarly to HAVING, use the merged schema, add the missing columns directly in the select list, instead of traversing the plan looking for projection node. If not traversing the plan looking for projection node, how to do `ambiguous_distinct_check` check? This check only be called when handling projection node, case `test_distinct_on_sort_by_unprojected` test this case. -- 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]
