avantgardnerio commented on PR #5362: URL: https://github.com/apache/arrow-datafusion/pull/5362#issuecomment-1441012937
Unfortunately, as I put in the original issue, given the sql `WHERE s_i_id = $1 AND s_w_id = $2` the planner calls the `TableProvider.supports_filter_pushdown()` with each part of the clause: ``` ArrowTableProvider::supports_filter_pushdown() proj=stock.s_i_id = Int32(3604) ArrowTableProvider::supports_filter_pushdown() proj=stock.s_w_id = Int32(1) ``` I suppose what I can do is just return `Exact` for everything, then the TableProvider would get the full predicate. Unfortunately that means it would also get `age > 21` which might be simple enough to deal with, but it would also have to evaluate all possible expressions `x / sqrt(pi) * UDF(y)` which starts looking more like something we'd want to have happening in a higher layer... -- 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]
