Disable table function view in expression#20350
Conversation
|
Maybe we should forbid subqueries as function arguments on parser level? We can allow it for table functions only by passing special flag (something like |
Good idea! Actually we only need to do that for ParserTableExpression. |
Backport #20350 to 21.2: Disable table function view in expression
Backport #20350 to 21.1: Disable table function view in expression
Backport #20350 to 20.12: Disable table function view in expression
|
There are still places where expression parser is used directly, for instance, We still need a guard in ASTFunction. |
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Check if table function
viewis used in expression list and throw an error. This fixes #20342Detailed description / Documentation draft:
.