alamb commented on issue #6051: URL: https://github.com/apache/datafusion/issues/6051#issuecomment-3793380744
> > A function that gets pushed down (and rewritten by the file opener (which knows the file name)) sounds like a great idea to me > > As you know… the issue will be making sure it’s always pushed down. `select min(col), max(col) from t group by filename() order by filename()` should ideally work. From my perspective, I actually think it would be ok if we started with `input_file_name()` that only worked in select lists at first (aka only worked when it could be pushed down) and then we expanded the support over time -- 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]
