You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/24 18:07:43 UTC

[GitHub] [arrow-datafusion] alamb commented on a change in pull request #2077: Fix lost filters and projections in ParquetExec, CSVExec etc

alamb commented on a change in pull request #2077:
URL: https://github.com/apache/arrow-datafusion/pull/2077#discussion_r834591154



##########
File path: datafusion/src/physical_plan/file_format/parquet.rs
##########
@@ -274,12 +274,24 @@ impl ExecutionPlan for ParquetExec {
     ) -> std::fmt::Result {
         match t {
             DisplayFormatType::Default => {
-                write!(
-                    f,
-                    "ParquetExec: limit={:?}, partitions={}",
-                    self.base_config.limit,
-                    super::FileGroupsDisplay(&self.base_config.file_groups)
-                )
+                if let Some(pre) = &self.pruning_predicate {
+                    write!(
+                        f,
+                        "ParquetExec: limit={:?}, partitions={}, pruning_predicate={}, projected_col={}",

Review comment:
       I also like `projection` and `predicate`




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

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org