**Describe the bug**
```
milovidov-desktop :) SET allow_experimental_analyzer = 1

SET allow_experimental_analyzer = 1

Query id: b4494b8c-9f14-4d46-8db9-2cb992dcfcb6

Ok.

0 rows in set. Elapsed: 0.001 sec. 

milovidov-desktop :) SELECT arrayFilter(x -> notEmpty(concat(x)), [NULL, NULL]) FROM system.one ARRAY JOIN [1048577] AS elem, arrayMap(x -> concat(x, elem, ''), ['']) AS unused

SELECT arrayFilter(x -> notEmpty(concat(x)), [NULL, NULL])
FROM system.one
ARRAY JOIN
    [1048577] AS elem,
    arrayMap(x -> concat(x, elem, ''), ['']) AS unused

Query id: ca118c75-812b-4c83-bd30-1af64ed38635


0 rows in set. Elapsed: 0.003 sec. 

Received exception from server (version 22.13.1):
Code: 49. DB::Exception: Received from localhost:9000. DB::Exception: Cannot capture column 3 because it has incompatible type: got Array(UInt32), but UInt32 is expected.. (LOGICAL_ERROR)
```
result_column = it->second;
        }
        else
        {
            it = table_expression_data.column_name_to_column_node.find(std::string(identifier_view.at(0)));
            if (it != table_expression_data.column_name_to_column_node.end())
                result_column = it->second;
        }
        QueryTreeNodePtr result_expression = result_column;
        bool clone_is_needed = true;
        String table_expression_source = table_expression_data.table_expression_description;
        if (!table_expression_data.table_expression_name.empty())
            table_expression_source += " with name " + table_expression_data.table_expression_name;
        if (result_column && !match_full_identifier && compound_identifier)
        {
            size_t identifier_bind_size = identifier_column_qualifier_parts + 1;
            result_expression = tryResolveIdentifierFromCompoundExpression(identifier_lookup.identifier, identifier_bind_size, result_column, table_expression_source, scope);
            clone_is_needed = false;
        }
        if (!result_expression)
        {
            std::unordered_set<Identifier> valid_identifiers;
            collectTableExpressionValidIdentifiersForTypoCorrection(identifier,
                table_expression_node,
                table_expression_data,
                valid_identifiers);
            auto hints = collectIdentifierTypoHints(identifier, valid_identifiers);
            throw Exception(ErrorCodes::BAD_ARGUMENTS, "Identifier '{}' cannot be resolved from {}. In scope {}{}",
                identifier.getFullName(),
                table_expression_source,