You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.
WITH t0 AS (
SELECT`id`, `athlete`FROM unbound_table_2
),
t1 AS (
SELECT*FROM t0
INNER JOIN unbound_table_3 t4
ON`id`= t4.`i`
)
SELECT t2.`id`, t2.`athlete`, t2.`medals`FROM (
WITH t0 AS (
SELECT`id`, `athlete`FROM unbound_table_2
),
t1 AS (
SELECT*FROM t0
INNER JOIN unbound_table_3 t4
ON`id`= t4.`i`
)
SELECT*FROM t1
EXCEPT
SELECT t1.*FROM t1
WHERE t1.`athlete`='Usain'
) t2
As you can see the global WITH statement is the same as the one in the global FROM.
Besides the point but due to #87 this will also fail because EXCEPT needs to be EXCEPT DISTINCT. Now that everything migrated to ibis 2.0. I'll take another look at doing that.
The text was updated successfully, but these errors were encountered:
For some reason ibis_bigquery doubles the with statements when executing a set of projections combined with a join and except.
As example
compiles to
As you can see the global
WITH
statement is the same as the one in the globalFROM
.Besides the point but due to #87 this will also fail because EXCEPT needs to be EXCEPT DISTINCT. Now that everything migrated to ibis 2.0. I'll take another look at doing that.
The text was updated successfully, but these errors were encountered: