gabotechs commented on code in PR #22969:
URL: https://github.com/apache/datafusion/pull/22969#discussion_r3425812126
##########
datafusion/catalog-listing/src/table.rs:
##########
@@ -747,32 +747,32 @@ impl ListingTable {
// hash repartitioning for aggregates and joins on partition columns.
let threshold =
ctx.config_options().optimizer.preserve_file_partitions;
- let (file_groups, grouped_by_partition) = if threshold > 0
- && !self.options.table_partition_cols.is_empty()
- {
- let grouped =
-
file_group.group_by_partition_values(self.options.target_partitions);
- if grouped.len() >= threshold {
- (grouped, true)
+ let (file_groups, grouped_by_partition) =
Review Comment:
indeed, it shifted this whole block even though only line changed 🤷
--
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]