Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -557,21 +557,12 @@ public void testOnlyNullPredicateIsPushDownThroughJoinFilters()
{
assertPlan(
"""
WITH test_table AS (
SELECT
custkey,
CASE
WHEN name = 'ABC' then 'ABC'
ELSE 'BCD'
END AS new_name
FROM customer)
SELECT orderstatus
FROM orders
JOIN test_table
ON orders.custkey = test_table.custkey
WHERE test_table.new_name = 'TESTING'
""",
output(values("orderstatus")));
WITH t(a) AS (VALUES 'a', 'b')
SELECT *
FROM t t1 JOIN t t2 ON true
WHERE t1.a = 'aa'
""",
output(values("field", "field_0")));
}

private Session noSemiJoinRewrite()
Expand Down