adriangb commented on PR #12978: URL: https://github.com/apache/datafusion/pull/12978#issuecomment-2423927482
> I am wondering if simple `like` patterns are not already converted to `startswith` etc, such that pruning already is applied. Good question. Based on performance of some queries I saw I'd say no, but it it's worth double checking. Any suggestions as to a definitive easy way to check? I guess I can run `datafusion-cli` against a very large parquet file in object storage (high latency) and a query that should filter (`col like 'A%'`) and one that can't? I don't see where `startswith` or any other transformations (`lower`, `upper`, etc.) are handled in the pruning transformation. -- 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]
