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 0d91115 commit e0656b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ RangesInDataParts MergeTreeTableInstance::extractRange(DataPartsVector parts_vec
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
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,12 @@ class SparkStorageMergeTree : 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");
};
};

class SparkWriteStorageMergeTree final : public SparkStorageMergeTree
Expand Down

0 comments on commit e0656b7

Please sign in to comment.