gene-bordegaray commented on code in PR #23189:
URL: https://github.com/apache/datafusion/pull/23189#discussion_r3536490285
##########
datafusion/datasource/src/file_scan_config/mod.rs:
##########
@@ -598,12 +571,15 @@ impl From<FileScanConfig> for FileScanConfigBuilder {
constraints: Some(config.constraints),
batch_size: config.batch_size,
expr_adapter_factory: config.expr_adapter_factory,
- partitioned_by_file_group: config.partitioned_by_file_group,
}
}
}
-fn hash_partitioning_from_partition_fields(
+/// Builds `Partitioning::Hash` over `partition_cols` (resolved to their
indices in
+/// `schema`) with `partition_count` partitions. Returns `None` when there are
no
+/// partition columns. Callers use this to declare the output partitioning of
a scan
+/// whose file groups are organized by partition column values.
+pub fn hash_partitioning_from_partition_fields(
Review Comment:
also cc: @gabotechs @adriangb @NGA-TRAN and @jayshrivastava
--
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]