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/04/12 07:25:11 UTC

[GitHub] [arrow-datafusion] Jimexist commented on a diff in pull request #1990: Make it possible to only scan part of a parquet file in a partition

Jimexist commented on code in PR #1990:
URL: https://github.com/apache/arrow-datafusion/pull/1990#discussion_r848068834


##########
datafusion/core/src/physical_plan/file_format/parquet.rs:
##########
@@ -537,6 +537,9 @@ fn read_partition(
                 file_metrics,
             ));
         }
+        if let Some(range) = &partitioned_file.range {
+            opt = opt.with_range(range.start, range.end);

Review Comment:
   can you check negative range or empty range?



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