**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)
```
scope.scope_node->formatASTForErrorMessage(),
                getHintsErrorMessageSuffix(hints));
        }
        if (clone_is_needed)
            result_expression = result_expression->clone();
        auto qualified_identifier = identifier;
        for (size_t i = 0; i < identifier_column_qualifier_parts; ++i)
        {
            auto qualified_identifier_with_removed_part = qualified_identifier;
            qualified_identifier_with_removed_part.popFirst();
            if (qualified_identifier_with_removed_part.empty())
                break;
            IdentifierLookup bind_to_aliases_identifier_lookup = {qualified_identifier_with_removed_part, IdentifierLookupContext::EXPRESSION};
            if (tryBindIdentifierToAliases(bind_to_aliases_identifier_lookup, scope))
                break;
            bool can_remove_qualificator = true;
            for (auto & table_expression_to_check_data : scope.table_expression_node_to_data)
            {
                const auto & table_expression_to_check = table_expression_to_check_data.first;
                if (table_expression_to_check.get() == table_expression_node.get())
                    continue;
                IdentifierLookup column_identifier_lookup{qualified_identifier_with_removed_part, IdentifierLookupContext::EXPRESSION};
                bool can_bind_identifier_to_table_expression = tryBindIdentifierToTableExpression(column_identifier_lookup, table_expression_to_check, scope);
                if (can_bind_identifier_to_table_expression)
                {
                    can_remove_qualificator = false;
                    break;
                }
            }
            if (!can_remove_qualificator)