lvheyang commented on pull request #764: URL: https://github.com/apache/arrow-datafusion/pull/764#issuecomment-885372817
I've committed some test cases in parquet_pruing.rs: for int32 column: 1. `SELECT * FROM t where i < 1` 2. `SELECT * FROM t where -i > -1` 3. `SELECT * FROM t where i = 1` 4. `SELECT * FROM t where abs(i) = 1 and i = 1` : use `i=1` as prune predicate 5. `SELECT * FROM t where abs(i) = 1` : not supported 6. `SELECT * FROM t where i+1 = 1` : not supported 7. `SELECT * FROM t where 1-i > 1`: not supported for float64 column 1. `SELECT * FROM t where f < 1` 2. `SELECT * FROM t where -f > -1` 3. `SELECT * FROM t where abs(f - 1) <= 0.000001 and f >= 0.1` : use `f>=0.1` as prune predicate 4. `SELECT * FROM t where abs(f-1) <= 0.000001` : not supported 5. `SELECT * FROM t where f+1 > 1.1` : not supported 6. `SELECT * FROM t where 1-f > 1` : not supported -- 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]
