Skip to content

Commit

Permalink
fix build due to ClickHouse/ClickHouse#50181
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaichen committed Oct 26, 2023
1 parent e1b1f03 commit dcd76e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion cpp-ch/local-engine/Storages/CustomStorageMergeTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,8 @@ std::unique_ptr<MergeTreeSettings> CustomStorageMergeTree::getDefaultSettings()
{
throw std::runtime_error("not implement");
}

std::map<std::string, MutationCommands> CustomStorageMergeTree::getUnfinishedMutationCommands() const
{
throw std::runtime_error("not implement");
}
}
2 changes: 1 addition & 1 deletion cpp-ch/local-engine/Storages/CustomStorageMergeTree.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class CustomStorageMergeTree final : public MergeTreeData
std::string getName() const override;
std::vector<MergeTreeMutationStatus> getMutationsStatus() const override;
bool scheduleDataProcessingJob(BackgroundJobsAssignee & executor) override;
std::map<std::string, MutationCommands> getUnfinishedMutationCommands() const override;

MergeTreeDataWriter writer;
MergeTreeDataSelectExecutor reader;
Expand All @@ -64,7 +65,6 @@ 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;
size_t getNumberOfUnfinishedMutations() const override { return 0; }
std::map<int64_t, MutationCommands> getAlterMutationCommandsForPart(const DataPartPtr & /*part*/) const override { return {}; }
void attachRestoredParts(MutableDataPartsVector && /*parts*/) override { throw std::runtime_error("not implement"); }
};
Expand Down

0 comments on commit dcd76e8

Please sign in to comment.