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

Syntax error: failed at position 10 ('::')
```
UUID uuid = UUIDHelpers::Nil;
    if (table_name_with_optional_uuid)
    {
        if (parts.size() > 2)
            return false;
        if (s_uuid.ignore(pos, expected))
        {
            ParserStringLiteral uuid_p;
            ASTPtr ast_uuid;
            if (!uuid_p.parse(pos, ast_uuid, expected))
                return false;
            uuid = parseFromString<UUID>(ast_uuid->as<ASTLiteral>()->value.get<String>());
        }
        if (parts.size() == 1) node = std::make_shared<ASTTableIdentifier>(parts[0], std::move(params));
        else node = std::make_shared<ASTTableIdentifier>(parts[0], parts[1], std::move(params));
        node->as<ASTTableIdentifier>()->uuid = uuid;
    }
    else
        node = std::make_shared<ASTIdentifier>(std::move(parts), false, std::move(params));
    return true;
}
bool ParserFunction::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)
{
    ParserIdentifier id_parser;
    ParserKeyword distinct("DISTINCT");
    ParserKeyword all("ALL");
    ParserExpressionList contents(false, is_table_function);
    ParserSelectWithUnionQuery select;
    ParserKeyword over("OVER");
    bool has_all = false;