**Use case**
For #15112

**Describe the solution you'd like**

SELECT ALL is identical to SELECT without DISTINCT.

If ALL is specified - ignore it.
If both ALL and DISTINCT are specified - syntax error or exception.

ALL can also be specified inside aggregate function:

SELECT sum(ALL x)

with the same effect (noop).
if (select.parse(pos, query, expected))
        {
            auto & select_ast = query->as<ASTSelectWithUnionQuery &>();
            if (select_ast.list_of_selects->children.size() == 1 && maybe_an_subquery)
            {
                
                pos = old_pos;
            }
            else
            {
                if (pos->type != TokenType::ClosingRoundBracket)
                    return false;
                ++pos;
                auto function_node = std::make_shared<ASTFunction>();
                tryGetIdentifierNameInto(identifier, function_node->name);
                auto expr_list_with_single_query = std::make_shared<ASTExpressionList>();
                expr_list_with_single_query->children.push_back(query);
                function_node->arguments = expr_list_with_single_query;
                function_node->children.push_back(function_node->arguments);
                node = function_node;
                return true;
            }
        }
    }
    const char * contents_begin = pos->begin;
    if (!contents.parse(pos, expr_list_args, expected))
        return false;
    const char * contents_end = pos->begin;
    if (pos->type != TokenType::ClosingRoundBracket)
        return false;