Skip to content

Commit 7e1fc4f

Browse files
committed
resolve conflicts
1 parent 647618a commit 7e1fc4f

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

datafusion/datasource/src/file_scan_config.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ pub struct FileScanConfigBuilder {
243243
file_source: Arc<dyn FileSource>,
244244
limit: Option<usize>,
245245
preserve_order: bool,
246-
projection_indices: Option<Vec<usize>>,
247246
constraints: Option<Constraints>,
248247
file_groups: Vec<FileGroup>,
249248
statistics: Option<Statistics>,
@@ -275,7 +274,6 @@ impl FileScanConfigBuilder {
275274
new_lines_in_values: None,
276275
limit: None,
277276
preserve_order: false,
278-
projection_indices: None,
279277
constraints: None,
280278
batch_size: None,
281279
expr_adapter_factory: None,
@@ -459,7 +457,6 @@ impl FileScanConfigBuilder {
459457
file_source,
460458
limit,
461459
preserve_order,
462-
projection_indices,
463460
constraints,
464461
file_groups,
465462
statistics,
@@ -483,7 +480,6 @@ impl FileScanConfigBuilder {
483480
file_source,
484481
limit,
485482
preserve_order,
486-
projection_exprs,
487483
constraints,
488484
file_groups,
489485
output_ordering,
@@ -508,9 +504,6 @@ impl From<FileScanConfig> for FileScanConfigBuilder {
508504
new_lines_in_values: Some(config.new_lines_in_values),
509505
limit: config.limit,
510506
preserve_order: config.preserve_order,
511-
projection_indices: config
512-
.projection_exprs
513-
.map(|p| p.ordered_column_indices()),
514507
constraints: Some(config.constraints),
515508
batch_size: config.batch_size,
516509
expr_adapter_factory: config.expr_adapter_factory,

datafusion/execution/src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ impl Default for SessionConfig {
114114
}
115115

116116
/// A type map for storing extensions.
117-
///
117+
///
118118
/// Extensions are indexed by their type `T`. If multiple values of the same type are provided, only the last one
119119
/// will be kept.
120-
///
120+
///
121121
/// Extensions are opaque objects that are unknown to DataFusion itself but can be downcast by optimizer rules,
122122
/// execution plans, or other components that have access to the session config.
123123
/// They provide a flexible way to attach extra data or behavior to the session config.

0 commit comments

Comments
 (0)