Revert "Update ASTColumnsTransformers.h"

This reverts commit b30e860166.
This commit is contained in:
Alexander Tokmakov 2020-09-25 14:52:55 +03:00
parent b30e860166
commit 8f21c73b76

View File

@ -53,7 +53,7 @@ public:
ASTPtr clone() const override
{
auto replacement = std::make_shared<Replacement>(*this);
replacement->children.clear();
replacement->name = name;
replacement->expr = expr->clone();
replacement->children.push_back(replacement->expr);
return replacement;