**Describe the unexpected behaviour**
Not found column number in block error when specifying ORDER BY that uses a column not mentioned in the SELECT.

**How to reproduce**
```
:) select count() over (order by number + 1) from numbers(10) order by number

Code: 10. DB::Exception: Received from localhost:9000. DB::Exception: Not found column number in block. There are only columns: count() OVER (ORDER BY number + 1 ASC), plus(number, 1)
```

**Expected behavior**
It should work.

{
        ss << "array_join " << "FIXME doesn't have dump" << "\n";
    }
    if (before_join)
    {
        ss << "before_join " << before_join->dumpDAG() << "\n";
    }
    if (before_where)
    {
        ss << "before_where " << before_where->dumpDAG() << "\n";
    }
    if (prewhere_info)
    {
        ss << "prewhere_info " << prewhere_info->dump() << "\n";
    }
    if (filter_info)
    {
        ss << "filter_info " << filter_info->dump() << "\n";
    }
    if (before_aggregation)
    {
        ss << "before_aggregation " << before_aggregation->dumpDAG() << "\n";
    }
    if (before_having)
    {
        ss << "before_having " << before_having->dumpDAG() << "\n";
    }
    if (before_window)
    {
        ss << "before_window " << before_window->dumpDAG() << "\n";