**Usage**
Postgres, MySQL, and Oracle support the expression `LEFT JOIN ... ON 1 = 1`, but ClickHouse does not.

It may be possible to replace `LEFT JOIN ... ON 1 = 1` with `CROSS JOIN`, but I want to use the query in the same form for lots of databases.

Please support the expression `LEFT JOIN ... ON 1 = 1`.


**Detailed SQL**
```SQL
CREATE TABLE test
(
    `name` Nullable(String),
    `id` int
)
ENGINE = Log();

insert into test values ('a', 1) ('b', 2) (null, 3);

select * from test t1 left join (select * from test ) t2 on 1 = 1   
-- DB::Exception: Not equi-join ON expression: 1 = 1. No columns in one of equality side.: While processing 1 = 1.
```

{
    ASTs & elements = select_query->select()->children;
    std::set<String> all_column_names;
    std::set<String> assigned_column_names;
    for (auto & expr : elements)
        all_column_names.insert(expr->getAliasOrColumnName());
    for (auto & expr : elements)
    {
        auto name = expr->getAliasOrColumnName();
        if (!assigned_column_names.insert(name).second)
        {
            size_t i = 1;
            while (all_column_names.end() != all_column_names.find(name + "_" + toString(i)))
                ++i;
            name = name + "_" + toString(i);
            expr = expr->clone();   
            expr->setAlias(name);
            all_column_names.insert(name);
            assigned_column_names.insert(name);
        }
    }
}
void removeUnneededColumnsFromSelectClause(const ASTSelectQuery * select_query, const Names & required_result_columns, bool remove_dups)