rdblue commented on issue #27155: [SPARK-17636][SPARK-25557][SQL] Parquet and 
ORC predicate pushdown in nested fields
URL: https://github.com/apache/spark/pull/27155#issuecomment-575743895
 
 
   @dbtsai, this looks like a great start to me. I'd really like to see a v2 
API for predicates/filters. One thing that's missing is that the v2 API is 
written as Java interfaces. Spark has its own implementations that are case 
classes, but we do need the Java interfaces for the new filter expressions 
defined.
   
   I'd also recommend creating extractor functions like the ones we created to 
work with transforms. Those allow us to seamlessly use the Spark internal class 
names even if the source has returned a different implementation of the Java 
interface.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to