[compile&build]clang compile errors fix (#10201)

Co-authored-by: cambyzju <zhuxiaoli01@baidu.com>
This commit is contained in:
camby
2022-06-17 08:41:25 +08:00
committed by GitHub
parent c784fb3ddd
commit 96de99525e
4 changed files with 1 additions and 5 deletions

View File

@ -44,7 +44,7 @@ public:
// Close the odbc_scanner, and report errors.
virtual Status close(RuntimeState* state) override;
// No use
virtual Status set_scan_ranges(const std::vector<TScanRangeParams>& scan_ranges);
virtual Status set_scan_ranges(const std::vector<TScanRangeParams>& scan_ranges) override;
const TupleDescriptor* get_tuple_desc() { return _tuple_desc; }
TextConverter* get_text_converter() { return _text_converter.get(); }
ODBCConnector* get_odbc_scanner() { return _odbc_scanner.get(); }

View File

@ -134,8 +134,6 @@ private:
std::vector<SlotDescriptor*> _query_slots;
// time costed and row returned statistics
ExecNode::EvalConjunctsFn _eval_conjuncts_fn = nullptr;
int64_t _num_rows_read = 0;
int64_t _raw_rows_read = 0;
int64_t _compressed_bytes_read = 0;

View File

@ -41,7 +41,6 @@ VSchemaScanNode::VSchemaScanNode(ObjectPool* pool, const TPlanNode& tnode,
_tuple_pool(nullptr),
_schema_scanner(nullptr),
_src_tuple(nullptr),
_dest_tuple(nullptr),
_src_single_tuple(nullptr),
_dest_single_tuple(nullptr) {}

View File

@ -78,7 +78,6 @@ private:
std::unique_ptr<SchemaScanner> _schema_scanner;
// Current tuple.
doris::Tuple* _src_tuple;
doris::Tuple* _dest_tuple;
// Map from index in slots to column of schema table.
std::vector<int> _index_map;