Samyak2 commented on code in PR #18948:
URL: https://github.com/apache/datafusion/pull/18948#discussion_r2567810996
##########
datafusion/datasource/src/file_groups.rs:
##########
@@ -189,15 +189,6 @@ impl FileGroupPartitioner {
return None;
}
- // Perform redistribution only in case all files should be read from
beginning to end
- let has_ranges = file_groups
- .iter()
- .flat_map(FileGroup::iter)
- .any(|f| f.range.is_some());
- if has_ranges {
- return None;
- }
-
// special case when order must be preserved
if self.preserve_order_within_groups {
self.repartition_preserving_order(file_groups)
Review Comment:
Done!
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]