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


With regards,
Apache Git Services

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

Reply via email to