You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/12/02 06:19:36 UTC

[GitHub] [arrow-datafusion] houqp commented on issue #1372: Support Sort on unprojected columns

houqp commented on issue #1372:
URL: https://github.com/apache/arrow-datafusion/issues/1372#issuecomment-984327500


   Doing a projection "push up" could be a quick workaround to enable this in datafusion. For example, in logical plan builder's `sort` method, we can detect whether any of the sort columns are missing in the input plan's schema, if not, we rewrite downstream projection plans by adding the missing sort columns, then add a new projection plan after the sort plan to remove the injected sort columns.


-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org