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
CREATE TABLE item (item_id varchar);
SET SESSION retry_policy='TASK';
EXPLAIN
WITH
t1 AS (
SELECT
NULL AS address_id
FROM item i1
INNER JOIN
item i2
ON i1.item_id = i2.item_id
),
t2 AS (
SELECT item_id AS address_id
FROM item
UNION
SELECT *
FROM t1
)
SELECT
*
FROM t2
INNER JOIN item ON item.item_id = t2.address_id;
Using set session allow_pushdown_into_connectors=true; shows that there is a ScanFilterProject[table = delta:default.item, filterPredicate = CAST(null AS boolean), dynamicFilters = {"item_id_0" = #df_695}] which is turned into an empty ValuesNode by a PushPredicateIntoTableScan run after RemoveUnsupportedDynamicFilters has already run.
Repro steps
Error stack trace
Using
set session allow_pushdown_into_connectors=true;
shows that there is aScanFilterProject[table = delta:default.item, filterPredicate = CAST(null AS boolean), dynamicFilters = {"item_id_0" = #df_695}]
which is turned into an emptyValuesNode
by aPushPredicateIntoTableScan
run afterRemoveUnsupportedDynamicFilters
has already run.The text was updated successfully, but these errors were encountered: