HyukjinKwon commented on a change in pull request #27648: [SPARK-24994][SQL] : 
Support filter pushdown for short and byte without explicit casting
URL: https://github.com/apache/spark/pull/27648#discussion_r385148275
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala
 ##########
 @@ -1802,3 +1803,85 @@ object OptimizeLimitZero extends Rule[LogicalPlan] {
       empty(ll)
   }
 }
+
+/**
+ * Removes Cast expressions from predicates to push down the filters. This 
will allow filter push
+ * down for byte and short columns without explicitly casting literals.
 
 Review comment:
   So, what you're doing right now is basically 
https://github.com/apache/spark/pull/8718 which was rejected.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to