Skip to content

Commit

Permalink
Fix build due to ClickHouse/ClickHouse#66279
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaichen committed Aug 8, 2024
1 parent 741b3f4 commit 25f3354
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class VectorizedParquetBlockInputFormat final : public DB::IInputFormat
ColumnIndexFilterPtr column_index_filter_;

protected:
void onCancel() override { is_stopped = 1; }
void onCancel() noexcept override { is_stopped = 1; }

public:
VectorizedParquetBlockInputFormat(DB::ReadBuffer & in_, const DB::Block & header_, const DB::FormatSettings & format_settings);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ bool SubstraitFileSource::tryPrepareReader()
}


void SubstraitFileSource::onCancel()
void SubstraitFileSource::onCancel() noexcept
{
if (file_reader)
file_reader->cancel();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class SubstraitFileSource : public DB::SourceWithKeyCondition

private:
bool tryPrepareReader();
void onCancel() override;
void onCancel() noexcept override;

DB::ContextPtr context;
DB::Block output_header; /// Sample header may contains partitions keys
Expand Down

0 comments on commit 25f3354

Please sign in to comment.