mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Removed controversial feature #1896
This commit is contained in:
parent
0207760c05
commit
466837b17c
@ -961,18 +961,6 @@ void ExpressionAnalyzer::normalizeTreeImpl(
|
||||
|
||||
if ((func_node = typeid_cast<ASTFunction *>(ast.get())))
|
||||
{
|
||||
/** Is there a column in the table whose name fully matches the function entry?
|
||||
* For example, in the table there is a column "domain(URL)", and we requested domain(URL).
|
||||
*/
|
||||
String function_string = func_node->getColumnName();
|
||||
auto it = findColumn(function_string);
|
||||
if (columns.end() != it)
|
||||
{
|
||||
ast = std::make_shared<ASTIdentifier>(func_node->range, function_string);
|
||||
current_asts.insert(ast.get());
|
||||
replaced = true;
|
||||
}
|
||||
|
||||
/// `IN t` can be specified, where t is a table, which is equivalent to `IN (SELECT * FROM t)`.
|
||||
if (functionIsInOrGlobalInOperator(func_node->name))
|
||||
if (ASTIdentifier * right = typeid_cast<ASTIdentifier *>(func_node->arguments->children.at(1).get()))
|
||||
|
@ -0,0 +1 @@
|
||||
1
|
@ -0,0 +1 @@
|
||||
SELECT count() FROM (SELECT count() FROM numbers(10));
|
Loading…
Reference in New Issue
Block a user