lvheyang commented on issue #723:
URL:
https://github.com/apache/arrow-datafusion/issues/723#issuecomment-883007802
> 2. Limit to pruning simple expressions
To accomplish this target, I plan to limit pruning only to such simple
expressions
1. column with boolean type
2. simple arithmetic (`+ - * /`) and comparison (`> = < >= <= !=`)
expression, before we generating predicate, we should normalize the expression
to such form:
* left(col) compare right(literal expression)
3. compound logical relation (and or not), may consist of one or many
expressions
which we may not support by now:
1. scalar functions act on columns
2. expressions with 2 or more columns
This plan is the final version, it would be changed. If there is any
problem, we can discuss it here or on the PR page.
--
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]