jonahgao commented on PR #10234: URL: https://github.com/apache/datafusion/pull/10234#issuecomment-2085730377
> thanks @jonahgao for addressing this problem. Im thinking if we can avoid the additional schemas in the signature, this is usually super confusing, we recently removed the similar from windows. Perhaps we can construct or amend the schema before calling the order by? Here we need to distinguish these two schemas. When the order by expression is a literal, such as `ORDER BY 1`, it can only refer to the input schema, that is, the literal is the index of the select list. -- 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