Fix conflict code

This commit is contained in:
hchen9 2020-10-25 18:12:17 -07:00
parent feaab260d8
commit 824c04f873
2 changed files with 3 additions and 3 deletions

View File

@ -146,8 +146,8 @@ public:
void checkPartitionCanBeDropped(const ASTPtr & partition) override { getNested()->checkPartitionCanBeDropped(partition); }
Strings getDataPaths() const override { return getNested()->getDataPaths(); }
StoragePolicyPtr getStoragePolicy() const override { return getNested()->getStoragePolicy(); }
std::optional<UInt64> totalRows() const override { return getNested()->totalRows(); }
std::optional<UInt64> totalBytes() const override { return getNested()->totalBytes(); }
std::optional<UInt64> totalRows(const Context& context) const override { return getNested()->totalRows(context); }
std::optional<UInt64> totalBytes(const Context& context) const override { return getNested()->totalBytes(context); }
std::optional<UInt64> lifetimeRows() const override { return getNested()->lifetimeRows(); }
std::optional<UInt64> lifetimeBytes() const override { return getNested()->lifetimeBytes(); }

View File

@ -3719,7 +3719,7 @@ std::optional<UInt64> StorageReplicatedMergeTree::totalRowsByPartitionPredicate(
}
if (is_valid)
res += part->rows_count;
});
}, context);
return res;
}