cloud-fan commented on a change in pull request #23507: [SPARK-26576][SQL] 
Broadcast hint not applied to partitioned table
URL: https://github.com/apache/spark/pull/23507#discussion_r246994929
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/PruneFileSourcePartitions.scala
 ##########
 @@ -71,7 +71,13 @@ private[sql] object PruneFileSourcePartitions extends 
Rule[LogicalPlan] {
         // Keep partition-pruning predicates so that they are visible in 
physical planning
         val filterExpression = filters.reduceLeft(And)
         val filter = Filter(filterExpression, prunedLogicalRelation)
-        Project(projects, filter)
+        op match {
+          case h: ResolvedHint =>
 
 Review comment:
   seems better to remove that line.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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