Skip to content

Commit

Permalink
remove useless commets.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachelint committed Dec 7, 2022
1 parent 17a42a9 commit 2cf3c3c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions analytic_engine/src/sst/parquet/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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())
Expand Down
2 changes: 0 additions & 2 deletions sql/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 2cf3c3c

Please sign in to comment.