File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
query/service/src/interpreters Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -108,10 +108,7 @@ pub enum StageFileCompression {
108108
109109impl StageFileFormatType {
110110 pub fn has_inner_schema ( & self ) -> bool {
111- match self {
112- StageFileFormatType :: Parquet => true ,
113- _ => false ,
114- }
111+ matches ! ( self , StageFileFormatType :: Parquet )
115112 }
116113}
117114
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ use common_expression::DataField;
2727use common_expression:: DataSchema ;
2828use common_expression:: DataSchemaRef ;
2929use common_expression:: DataSchemaRefExt ;
30- use common_meta_app:: principal:: StageFileFormatType ;
3130use common_meta_app:: principal:: StageInfo ;
3231use common_meta_app:: schema:: TableCopiedFileInfo ;
3332use common_pipeline_core:: processors:: processor:: ProcessorPtr ;
You can’t perform that action at this time.
0 commit comments