Skip to content

Commit

Permalink
Remove unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
OussamaSaoudi-db committed Sep 17, 2024
1 parent 911437e commit fe77903
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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 @@ -14,7 +14,6 @@ use futures::{StreamExt, TryStreamExt};
use itertools::Itertools;
use object_store::path::Path;
use object_store::{DynObjectStore, GetResultPayload};
use tracing::debug;

use super::executor::TaskExecutor;
use super::file_stream::{FileOpenFuture, FileOpener, FileStream};
Expand Down Expand Up @@ -120,7 +119,7 @@ impl<E: TaskExecutor> JsonHandler for DefaultJsonHandler<E> {
&self,
files: &[FileMeta],
physical_schema: SchemaRef,
predicate: Option<Expression>,
_predicate: Option<Expression>,
) -> DeltaResult<FileDataReadResultIterator> {
if files.is_empty() {
return Ok(Box::new(std::iter::empty()));
Expand Down
4 changes: 1 addition & 3 deletions kernel/src/engine/default/parquet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use parquet::arrow::arrow_reader::{
ArrowReaderMetadata, ArrowReaderOptions, ParquetRecordBatchReaderBuilder,
};
use parquet::arrow::async_reader::{ParquetObjectReader, ParquetRecordBatchStreamBuilder};
use tracing::debug;

use super::file_stream::{FileOpenFuture, FileOpener, FileStream};
use crate::engine::arrow_utils::{generate_mask, get_requested_indices, reorder_struct_array};
Expand Down Expand Up @@ -48,9 +47,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 with predicate: {:?}", predicate);
if files.is_empty() {
return Ok(Box::new(std::iter::empty()));
}
Expand Down

0 comments on commit fe77903

Please sign in to comment.