houqp edited a comment 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 it is, 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
