**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.
assertNoWindows(select_query.having(), "in HAVING");
    if (select_query.where())
        assertNoWindows(select_query.where(), "in WHERE");
    if (select_query.prewhere())
        assertNoWindows(select_query.prewhere(), "in PREWHERE");
    if (select_query.window())
        assertNoWindows(select_query.window(), "in WINDOW");
    GetAggregatesVisitor::Data data;
    GetAggregatesVisitor(data).visit(query);
    
    
    
    for (const ASTFunction * node : data.window_functions)
    {
        if (node->arguments)
        {
            for (auto & arg : node->arguments->children)
            {
                assertNoWindows(arg, "inside another window function");
            }
        }
        if (node->window_definition)
        {
            assertNoWindows(node->window_definition, "inside window definition");
        }
    }
    return data.window_functions;
}
}
TreeRewriterResult::TreeRewriterResult(