GitHub user HyukjinKwon opened a pull request: https://github.com/apache/spark/pull/14172
[SPARK-16516][SQL] Support for pushing down filters for decimal and timestamp types in ORC ## What changes were proposed in this pull request? It seems ORC supports all the types in ([`PredicateLeaf.Type`](https://github.com/apache/hive/blob/e085b7e9bd059d91aaf013df0db4d71dca90ec6f/storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/PredicateLeaf.java#L50-L56)) which includes timestamp types and decimal types. In more details, the types listed in [`SearchArgumentImpl.boxLiteral()`](https://github.com/apache/hive/blob/branch-1.2/ql/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchArgumentImpl.java#L1068-L1093) can be used as filter value. ## How was this patch tested? Unit tests in `OrcFilterSuite` and `OrcQuerySuite` You can merge this pull request into a Git repository by running: $ git pull https://github.com/HyukjinKwon/spark SPARK-16516 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/14172.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #14172 ---- commit ade0ad27459248d3db1c7e453cbf724596a50a2a Author: hyukjinkwon <gurwls...@gmail.com> Date: 2016-07-13T05:43:04Z Support for pushing down filters for decimal and timestamp types in ORC ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org