Open suneet-s opened 4 years ago
This appears to work when as long as there is a filter that is on a column which is not part of the join condition.
For example
with abc as
(
SELECT cityName, "__time", sum_added from wikipedia WHERE "cityName" = 'Buenos Aires'
)
SELECT t1.cityName, t1."__time" from abc as t1 LEFT join abc as t2 on t1.sum_added = t2.sum_added
Affected Version
0.19.0
Description
Found while investigating #9792
This fails with the error
However, the same query as an inner join works
The query also works if a time filter is added