Skip to content

Commit

Permalink
Fix build due to ClickHouse/ClickHouse#65832
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaichen committed Sep 6, 2024
1 parent 858bf43 commit 54e825f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion cpp-ch/local-engine/Common/MergeTreeTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ RangesInDataParts MergeTreeTable::extractRange(DataPartsVector parts_vector) con
ranges_in_data_part.data_part = name_index.at(part.name);
ranges_in_data_part.part_index_in_query = 0;
ranges_in_data_part.ranges.emplace_back(MarkRange(part.begin, part.end));
ranges_in_data_part.alter_conversions = std::make_shared<AlterConversions>();
return ranges_in_data_part;
});
return ranges_in_data_parts;
Expand Down
6 changes: 5 additions & 1 deletion cpp-ch/local-engine/Storages/CustomStorageMergeTree.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,13 @@ class CustomStorageMergeTree final : public MergeTreeData
void replacePartitionFrom(const StoragePtr & source_table, const ASTPtr & partition, bool replace, ContextPtr context) override;
void movePartitionToTable(const StoragePtr & dest_table, const ASTPtr & partition, ContextPtr context) override;
bool partIsAssignedToBackgroundOperation(const DataPartPtr & part) const override;
MutationCommands getAlterMutationCommandsForPart(const DataPartPtr & /*part*/) const override { return {}; }
void attachRestoredParts(MutableDataPartsVector && /*parts*/) override { throw std::runtime_error("not implement"); }

public:
MutationsSnapshotPtr getMutationsSnapshot(const IMutationsSnapshot::Params & params) const override
{
throw std::runtime_error("not implement");
};
};

}

0 comments on commit 54e825f

Please sign in to comment.