[clang build]fix clang compile error (#9615)

This commit is contained in:
Pxl
2022-05-18 07:42:31 +08:00
committed by GitHub
parent 908f9cb7b9
commit 26353ba8b5
2 changed files with 11 additions and 7 deletions

View File

@ -54,16 +54,20 @@ public:
const std::vector<TNetworkAddress>& broker_addresses,
const std::vector<TExpr>& pre_filter_texprs, ScannerCounter* counter);
~ParquetScanner();
~ParquetScanner() override;
// Open this scanner, will initialize information need to
virtual Status open();
Status open() override;
// Get next tuple
virtual Status get_next(Tuple* tuple, MemPool* tuple_pool, bool* eof, bool* fill_tuple);
Status get_next(Tuple* tuple, MemPool* tuple_pool, bool* eof, bool* fill_tuple) override;
Status get_next(vectorized::Block* block, bool* eof) override {
return Status::NotSupported("Not Implemented get block");
}
// Close this scanner
virtual void close();
void close() override;
protected:
// Read next buffer from reader

View File

@ -44,12 +44,12 @@ public:
const std::vector<TNetworkAddress>& broker_addresses,
const std::vector<TExpr>& pre_filter_texprs, ScannerCounter* counter);
virtual ~VParquetScanner();
~VParquetScanner() override;
// Open this scanner, will initialize information need to
Status open();
Status open() override;
Status get_next(Block* block, bool* eof);
Status get_next(Block* block, bool* eof) override;
private:
Status _next_arrow_batch();