From 2cf3c3c45ad91b0f8bb19c4d7a14cc52aaaec45b Mon Sep 17 00:00:00 2001 From: kamille Date: Wed, 7 Dec 2022 15:17:48 +0800 Subject: [PATCH] remove useless commets. --- analytic_engine/src/sst/parquet/builder.rs | 3 --- sql/src/parser.rs | 2 -- 2 files changed, 5 deletions(-) diff --git a/analytic_engine/src/sst/parquet/builder.rs b/analytic_engine/src/sst/parquet/builder.rs index 362a732fc0..256b9aa97e 100644 --- a/analytic_engine/src/sst/parquet/builder.rs +++ b/analytic_engine/src/sst/parquet/builder.rs @@ -214,7 +214,6 @@ impl<'a> SstBuilder for ParquetSstBuilder<'a> { request_id, meta, self.num_rows_per_row_group ); - // let total_row_num = Arc::new(AtomicUsize::new(0)); let reader = RecordBytesReader { request_id, @@ -226,8 +225,6 @@ impl<'a> SstBuilder for ParquetSstBuilder<'a> { meta_data: meta.to_owned(), partitioned_record_batch: Default::default(), }; - - // let bytes = reader.read_all().await?; self.storage .put(self.path, bytes.into()) diff --git a/sql/src/parser.rs b/sql/src/parser.rs index a150083ab3..d075ac496f 100644 --- a/sql/src/parser.rs +++ b/sql/src/parser.rs @@ -180,7 +180,6 @@ impl<'a> Parser<'a> { self.parser.next_token(); self.parse_exists() } - // Keyword::Q _ => { // use the native parser Ok(Statement::Standard(Box::new(maybe_normalize_table_name( @@ -653,7 +652,6 @@ fn convert_relation(relation: TableFactor) -> TableFactor { } fn maybe_convert_table_name(object_name: ObjectName) -> ObjectName { - // let mut quoted_idents = Vec::with_capacity(object_name.0.len()); let quoteds: Vec<_> = object_name .0 .into_iter()