mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Fix unit test
This commit is contained in:
parent
7299f81739
commit
84294aefc9
@ -1179,6 +1179,12 @@ public:
|
||||
if (!wrapLayer())
|
||||
return false;
|
||||
|
||||
// Special case for (('a', 'b')) -> tuple(('a', 'b'))
|
||||
if (!is_tuple && result.size() == 1)
|
||||
if (auto * literal = result[0]->as<ASTLiteral>())
|
||||
if (literal->value.getType() == Field::Types::Tuple)
|
||||
is_tuple = true;
|
||||
|
||||
state = -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user