alamb commented on issue #12446: URL: https://github.com/apache/datafusion/issues/12446#issuecomment-2368528145
An update here is I have a WIP PR with tests, etc. https://github.com/apache/datafusion/pull/12562 I am now trying to figure out an appropriate algorithm to implement the adjustment that @berkaysynnada suggests in https://github.com/apache/datafusion/issues/12446#issuecomment-2363159349 > Actually IMO the result should be [[a, a0, c], [a0, a, c]]. To do that, input orderings should be adjusted such that: > input1: [[a, c]], constants: [a0] => [[a0, a, c], [a, a0, c], [a, c, a0]] > input2: [[a0, c]], constants: [a] => [[a, a0, c], [a0, a, c], [a0, c, a]] I worry that if we are not careful, such an expansion will be some sort of expontential blow up. Maybe I can just hard code a limit of orderings to try 🤔 -- 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]
