Skip to content
Permalink
Browse files
[clang build]fix clang compile error (#9615)
  • Loading branch information
BiteTheDDDDt committed May 17, 2022
1 parent 908f9cb commit 26353ba8b5b190fb731dc528fb3ccfeb11df002b
Showing 2 changed files with 11 additions and 7 deletions.
@@ -54,16 +54,20 @@ class ParquetScanner : public BaseScanner {
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
@@ -44,12 +44,12 @@ class VParquetScanner : public ParquetScanner {
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();

0 comments on commit 26353ba

Please sign in to comment.