Skip to content

Commit

Permalink
Fix conflict with apache#7029
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaichen committed Sep 6, 2024
1 parent d941f88 commit 1c79fa5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ class SparkStorageMergeTree : public MergeTreeData
{
friend class MergeSparkMergeTreeTask;

struct CustomMutationsSnapshot : public IMutationsSnapshot
struct SparkMutationsSnapshot : public IMutationsSnapshot
{
CustomMutationsSnapshot() = default;
SparkMutationsSnapshot() = default;

MutationCommands getAlterMutationCommandsForPart(const MergeTreeData::DataPartPtr & part) const override { return {}; }
std::shared_ptr<MergeTreeData::IMutationsSnapshot> cloneEmpty() const override
{
return std::make_shared<CustomMutationsSnapshot>();
return std::make_shared<SparkMutationsSnapshot>();
}

NameSet getAllUpdatedColumns() const override { return {}; }
Expand Down Expand Up @@ -112,7 +112,7 @@ class SparkStorageMergeTree : public MergeTreeData
public:
MutationsSnapshotPtr getMutationsSnapshot(const IMutationsSnapshot::Params & /*params*/) const override
{
return std::make_shared<CustomMutationsSnapshot>();
return std::make_shared<SparkMutationsSnapshot>();
};
};

Expand Down

0 comments on commit 1c79fa5

Please sign in to comment.