```
milovidov-desktop :) SELECT -1::INT

Syntax error: failed at position 10 ('::')
```
auto function_node = std::make_shared<ASTFunction>();
    tryGetIdentifierNameInto(identifier, function_node->name);
    
    if (has_distinct)
        function_node->name += "Distinct";
    function_node->arguments = expr_list_args;
    function_node->children.push_back(function_node->arguments);
    if (expr_list_params)
    {
        function_node->parameters = expr_list_params;
        function_node->children.push_back(function_node->parameters);
    }
    if (over.ignore(pos, expected))
    {
        function_node->is_window_function = true;
        
        
        
        
        ASTPtr function_node_as_iast = function_node;
        ParserWindowReference window_reference;
        if (!window_reference.parse(pos, function_node_as_iast, expected))
        {
            return false;
        }
    }
    node = function_node;
    return true;
}
bool ParserTableFunctionView::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)