Skip to content

Commit

Permalink
[clang build]fix clang compile error (#9615)
Browse files Browse the repository at this point in the history
  • Loading branch information
BiteTheDDDDt authored May 17, 2022
1 parent 908f9cb commit 26353ba
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
12 changes: 8 additions & 4 deletions be/src/exec/parquet_scanner.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions be/src/vec/exec/vparquet_scanner.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 26353ba

Please sign in to comment.