Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuqi-lucas committed Jan 2, 2025
1 parent 1750d76 commit c832b08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions datafusion/core/src/datasource/file_format/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ use datafusion_common::{internal_err, not_impl_err, GetExt};
use datafusion_expr::Expr;
use datafusion_physical_expr::PhysicalExpr;

use crate::datasource::file_format::parquet::ParquetFormat;
use async_trait::async_trait;
use bytes::{Buf, Bytes};
use datafusion_physical_expr_common::sort_expr::LexRequirement;
Expand Down Expand Up @@ -416,7 +415,7 @@ pub fn file_type_to_format(

/// Check if the file format is parquet
pub fn is_file_parquet_format(file_format: &Arc<dyn FileType>) -> bool {
file_format.get_ext() == ParquetFormat::default().get_ext()
file_format.get_ext() == "parquet"
}

/// Create a new field with the specified data type, copying the other
Expand Down

0 comments on commit c832b08

Please sign in to comment.