diff --git a/be/src/exec/csv_scan_node.h b/be/src/exec/csv_scan_node.h index b3e04085291d45..d320df6a0a7547 100644 --- a/be/src/exec/csv_scan_node.h +++ b/be/src/exec/csv_scan_node.h @@ -70,7 +70,7 @@ class CsvScanNode : public ScanNode { const SlotDescriptor* slot, RuntimeState* state, std::stringstream* error_msg); - // split one line into fields, check every fields, fill every filed into tuple + // split one line into fields, check every fields, fill every field into tuple bool split_check_fill(const std::string& line, RuntimeState* state); void fill_fix_length_string( diff --git a/be/src/exec/parquet_reader.cpp b/be/src/exec/parquet_reader.cpp index b3e37d5c974015..dd4bfe9fa944ff 100644 --- a/be/src/exec/parquet_reader.cpp +++ b/be/src/exec/parquet_reader.cpp @@ -92,7 +92,7 @@ Status ParquetReaderWrap::init_parquet_reader(const std::vector for (int i = 0; i < _parquet_column_ids.size(); i++) { std::shared_ptr field = field_schema->field(i); if (!field) { - LOG(WARNING) << "Get filed schema failed. Column order:" << i; + LOG(WARNING) << "Get field schema failed. Column order:" << i; return Status::InternalError(status.ToString()); } _parquet_column_type.emplace_back(field->type()->id()); diff --git a/be/src/olap/data_dir.cpp b/be/src/olap/data_dir.cpp index f577f973df34ba..bd7dd6a7d1bef2 100644 --- a/be/src/olap/data_dir.cpp +++ b/be/src/olap/data_dir.cpp @@ -125,7 +125,7 @@ Status DataDir::_init_cluster_id() { if (fp == NULL) { RETURN_NOT_OK_STATUS_WITH_WARN( Status::IOError(Substitute("failed to open cluster id file $0", cluster_id_path)), - "open file filed"); + "open file failed"); } int lock_res = flock(fp->_fileno, LOCK_EX | LOCK_NB); diff --git a/be/src/olap/field.h b/be/src/olap/field.h index 4794efb970e2fd..db8a69c2b285cc 100644 --- a/be/src/olap/field.h +++ b/be/src/olap/field.h @@ -78,7 +78,7 @@ class Field { // todo(kks): Unify AggregateInfo::init method and Field::agg_init method // This function will initialize destination with source. - // This functionn differs copy functionn in that if this filed + // This functionn differs copy functionn in that if this field // contain aggregate information, this functionn will initialize // destination in aggregate format, and update with srouce content. virtual void agg_init(RowCursorCell* dst, const RowCursorCell& src, MemPool* mem_pool, ObjectPool* agg_pool) const { @@ -189,12 +189,12 @@ class Field { _type_info->deep_copy(dst->mutable_cell_ptr(), src.cell_ptr(), pool); } - // deep copy filed content from `src` to `dst` without null-byte + // deep copy field content from `src` to `dst` without null-byte inline void deep_copy_content(char* dst, const char* src, MemPool* mem_pool) const { _type_info->deep_copy(dst, src, mem_pool); } - // shallow copy filed content from `src` to `dst` without null-byte. + // shallow copy field content from `src` to `dst` without null-byte. // for string like type, shallow copy only copies Slice, not the actual data pointed by slice. inline void shallow_copy_content(char* dst, const char* src) const { _type_info->shallow_copy(dst, src); diff --git a/be/src/olap/rowset/column_reader.cpp b/be/src/olap/rowset/column_reader.cpp index 5524a4a158e699..464b91a074ccc1 100644 --- a/be/src/olap/rowset/column_reader.cpp +++ b/be/src/olap/rowset/column_reader.cpp @@ -678,7 +678,7 @@ ColumnReader* ColumnReader::create(uint32_t column_id, case OLAP_FIELD_TYPE_LIST: case OLAP_FIELD_TYPE_MAP: default: { - LOG(WARNING) << "unspported filed type. field=" << column.name() + LOG(WARNING) << "unspported field type. field=" << column.name() << ", type=" << column.type(); break; } diff --git a/be/src/olap/rowset/column_writer.cpp b/be/src/olap/rowset/column_writer.cpp index f2ab991f4ec332..30ed92f3e7e383 100755 --- a/be/src/olap/rowset/column_writer.cpp +++ b/be/src/olap/rowset/column_writer.cpp @@ -122,7 +122,7 @@ ColumnWriter* ColumnWriter::create(uint32_t column_id, case OLAP_FIELD_TYPE_LIST: case OLAP_FIELD_TYPE_MAP: default: { - LOG(WARNING) << "Unspported filed type. field=" << column.name() + LOG(WARNING) << "Unspported field type. field=" << column.name() << ", type=" << column.type(); break; }