提交 c9b97ae8 编写于 作者: A Alexey Zatelepin

fix unexpected modification of original ORDER BY ast [#CLICKHOUSE-3859]

上级 61328a2c
......@@ -353,8 +353,8 @@ ASTPtr MergeTreeData::extractKeyExpressionList(const ASTPtr & node)
if (expr_func && expr_func->name == "tuple")
{
/// Primary key is specified in tuple.
return expr_func->children.at(0);
/// Primary key is specified in tuple, extract its arguments.
return expr_func->arguments->clone();
}
else
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册