Skip to content

Commit 7fe0354

Browse files
committed
rename
1 parent 413990b commit 7fe0354

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

datafusion/core/src/datasource/listing/table.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ impl TableProvider for ListingTable {
899899
.split_file_groups_by_statistics
900900
.then(|| {
901901
output_ordering.first().map(|output_ordering| {
902-
FileScanConfig::split_groups_by_statistics_v2(
902+
FileScanConfig::split_groups_by_statistics_with_target_partitions(
903903
&self.table_schema,
904904
&partitioned_file_lists,
905905
output_ordering,

datafusion/datasource/benches/split_groups_by_statistics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ pub fn compare_split_groups_by_statistics_algorithms(c: &mut Criterion) {
165165
|b, (fg, schema, order, target)| {
166166
let mut result = Vec::new();
167167
b.iter(|| {
168-
result = FileScanConfig::split_groups_by_statistics_v2(
168+
result = FileScanConfig::split_groups_by_statistics_with_target_partitions(
169169
schema, fg, order, *target,
170170
)
171171
.unwrap();

datafusion/datasource/src/file_scan_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ impl FileScanConfig {
879879
/// # Returns
880880
/// A new set of file groups, where files within each group are non-overlapping with respect to
881881
/// their min/max statistics and maintain the specified sort order.
882-
pub fn split_groups_by_statistics_v2(
882+
pub fn split_groups_by_statistics_with_target_partitions(
883883
table_schema: &SchemaRef,
884884
file_groups: &[FileGroup],
885885
sort_order: &LexOrdering,

0 commit comments

Comments
 (0)