ewgenius commented on PR #15820: URL: https://github.com/apache/datafusion/pull/15820#issuecomment-2826267482
@comphead thanks for the response. The problem we faced at Spice is that `ILIKE` expression pushed down as `LIKE` to the data source: - https://github.com/spiceai/spiceai/issues/5486 I'm not entirely sure, but this particular query migh not go through SQL unparser so it is not affected by the bug? cc @phillipleblanc ``` ➜ datafusion-cli DataFusion CLI v47.0.0 > select * from (select 'a' a) t where t.a like ('%A%'); +---+ | a | +---+ +---+ 0 row(s) fetched. Elapsed 0.023 seconds. > select * from (select 'a' a) t where t.a ilike ('%A%'); +---+ | a | +---+ | a | +---+ 1 row(s) fetched. Elapsed 0.004 seconds. > explain select * from (select 'a' a) t where t.a ilike ('%A%'); +---------------+-------------------------------+ | plan_type | plan | +---------------+-------------------------------+ | physical_plan | ┌───────────────────────────┐ | | | │ ProjectionExec │ | | | │ -------------------- │ | | | │ expr0: a │ | | | └─────────────┬─────────────┘ | | | ┌─────────────┴─────────────┐ | | | │ PlaceholderRowExec │ | | | └───────────────────────────┘ | | | | +---------------+-------------------------------+ 1 row(s) fetched. Elapsed 0.003 seconds. > explain select * from (select 'a' a) t where t.a like ('%A%'); +---------------+-------------------------------+ | plan_type | plan | +---------------+-------------------------------+ | physical_plan | ┌───────────────────────────┐ | | | │ EmptyExec │ | | | └───────────────────────────┘ | | | | +---------------+-------------------------------+ 1 row(s) fetched. Elapsed 0.000 seconds. ``` -- 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-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org