Hi,
I have experimented a bit with join pushdowns and experienced that intra-schema-Joins are not pushed down if there is a table joined between that is part of another schema.
Example:
In the following example the Join between x1 and x2 is pushed down (when the preview feature is activated):
select *
from catalog_name.schema_x.table_1 x1
inner join catalog_name.schema_x.table_2 x2
on x1.join_key = x2.join_key
inner join catalog_name.schema_y.table_3 y3
on x1.join_key = y3.join_key
Whereas in the following example this join (between x1 and x2) is not pushed down:
select *
from catalog_name.schema_x.table_1 x1
inner join catalog_name.schema_y.table_3 y3
on x1.join_key = y3.join_key
inner join catalog_name.schema_x.table_2 x2
on x1.join_key = x2.join_key
To me it's not understandable, why the join order matters here. Is this behaviour intended or might this be a bug in the preview feature?
Thanks,
Stefan