You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/02/11 05:30:57 UTC

[GitHub] [spark] fuwhu commented on a change in pull request #27535: [MINOR][DOC] Add class document for PruneFileSourcePartitions and PruneHiveTablePartitions

fuwhu commented on a change in pull request #27535: [MINOR][DOC] Add class document for PruneFileSourcePartitions and PruneHiveTablePartitions
URL: https://github.com/apache/spark/pull/27535#discussion_r377451447
 
 

 ##########
 File path: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/PruneFileSourcePartitions.scala
 ##########
 @@ -26,6 +26,18 @@ import org.apache.spark.sql.catalyst.rules.Rule
 import org.apache.spark.sql.execution.datasources.v2.{DataSourceV2ScanRelation, FileScan}
 import org.apache.spark.sql.types.StructType
 
+/**
+ * Prune the partitions of file source based table using partition filters. Currently, this rule
+ * is applied to [[HadoopFsRelation]] and [[DataSourceV2ScanRelation]].
 
 Review comment:
   @cloud-fan updated as : 
   
   DataSourceV2ScanRelation -> DataSourceV2ScanRelation with FileScan
   HadoopFsRelation -> HadoopFsRelation with CatalogFileIndex
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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