Skip to content

Commit

Permalink
Remove unecessary changes in default engine
Browse files Browse the repository at this point in the history
  • Loading branch information
OussamaSaoudi-db committed Sep 17, 2024
1 parent 49889e7 commit e461695
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions kernel/src/engine/default/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,8 @@ impl<E: TaskExecutor> JsonHandler for DefaultJsonHandler<E> {
&self,
files: &[FileMeta],
physical_schema: SchemaRef,
predicate: Option<Expression>,
_predicate: Option<Expression>,
) -> DeltaResult<FileDataReadResultIterator> {
debug!("Reading json files: {files:#?} with predicate {predicate:#?}");
if files.is_empty() {
return Ok(Box::new(std::iter::empty()));
}
Expand Down
3 changes: 1 addition & 2 deletions kernel/src/engine/default/parquet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ impl<E: TaskExecutor> ParquetHandler for DefaultParquetHandler<E> {
&self,
files: &[FileMeta],
physical_schema: SchemaRef,
predicate: Option<Expression>,
_predicate: Option<Expression>,
) -> DeltaResult<FileDataReadResultIterator> {
debug!("Reading parquet files: {files:#?} with schema {physical_schema:#?} and predicate {predicate:#?}");
if files.is_empty() {
return Ok(Box::new(std::iter::empty()));
}
Expand Down

0 comments on commit e461695

Please sign in to comment.