**Describe the issue**
```
SELECT xyz

Query id: 0c7d8017-4686-404c-9991-388d9a693e5f


0 rows in set. Elapsed: 0.003 sec. 

Received exception from server (version 21.2.1):
Code: 47. DB::Exception: Received from localhost:9000. DB::Exception: Missing columns: 'xyz' while processing query: 'SELECT xyz', required columns: 'xyz', maybe you meant: .
```

The fragment `maybe you meant: .` should not be present.
analyzed_join->addJoinedColumn(joined_column);
                required.erase(name);
            }
        }
    }
    NameSet array_join_sources;
    if (columns_context.has_array_join)
    {
        
        for (const auto & result_source : array_join_result_to_source)
            array_join_sources.insert(result_source.second);
        for (const auto & column_name_type : source_columns)
            if (array_join_sources.count(column_name_type.name))
                required.insert(column_name_type.name);
    }
    
    has_explicit_columns = !required.empty();
    if (is_select && !has_explicit_columns)
    {
        optimize_trivial_count = true;
        
        
        
        struct ColumnSizeTuple
        {
            size_t compressed_size;
            size_t type_size;
            size_t uncompressed_size;
            String name;
            bool operator<(const ColumnSizeTuple & that) const