You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2023/03/23 19:54:18 UTC

[GitHub] [arrow-datafusion] alamb commented on a diff in pull request #5710: Fix parquet pruning when column names have periods

alamb commented on code in PR #5710:
URL: https://github.com/apache/arrow-datafusion/pull/5710#discussion_r1146755111


##########
datafusion/core/src/physical_optimizer/pruning.rs:
##########
@@ -384,7 +384,7 @@ fn build_statistics_record_batch<S: PruningStatistics>(
     let mut arrays = Vec::<ArrayRef>::new();
     // For each needed statistics column:
     for (column, statistics_type, stat_field) in required_columns.iter() {
-        let column = Column::from_qualified_name(column.name());
+        let column = Column::from_name(column.name());

Review Comment:
   This line is the bugfix
   
   The rest of the PR is a test



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