fuwhu commented on a change in pull request #27232: 
[SPARK-30525][SQL]HiveTableScanExec do not need to prune partitions again
URL: https://github.com/apache/spark/pull/27232#discussion_r373750916
 
 

 ##########
 File path: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveTableScanExec.scala
 ##########
 @@ -162,22 +162,38 @@ case class HiveTableScanExec(
     }
   }
 
-  // exposed for tests
-  @transient lazy val rawPartitions = {
 
 Review comment:
   > else {
   >   rawPartitions
   > }
   
   sure, but rawPartitions need to be pruned if 
HIVE_METASTORE_PARTITION_PRUNING disabled.
   
   Already updated, please help review, thanks.

----------------------------------------------------------------
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