Skip to content

Commit b97bf56

Browse files
committed
Apply suggestions from code review (lint)
1 parent dc9e166 commit b97bf56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

datafusion/core/src/execution/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ pub struct ParquetReadOptions<'a> {
141141
pub file_extension: &'a str,
142142
/// Partition Columns
143143
pub table_partition_cols: Vec<String>,
144-
/// Should DataFusion parquet reader using the predicate to prune data,
144+
/// Should DataFusion parquet reader using the predicate to prune data,
145145
/// overridden by value on execution::context::SessionConfig
146146
pub parquet_pruning: bool,
147147
}

datafusion/core/src/sql/parser.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,9 @@ impl<'a> DFParser<'a> {
309309
let has_header = self.parse_csv_has_header();
310310

311311
let table_partition_cols = if self.parse_has_partition() {
312-
self.parse_partitions()?;
312+
self.parse_partitions()?;
313313
} else {
314-
vec![]
314+
vec![]
315315
};
316316

317317
self.parser.expect_keyword(Keyword::LOCATION)?;

0 commit comments

Comments
 (0)