Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
0f75fb8
Make delta capture transactional
ila Jul 22, 2026
d88437a
Harden transactional delta capture
ila Jul 22, 2026
696a265
Capture resolved conflict outcomes
ila Jul 22, 2026
3006e1a
Capture actual MERGE update outcomes
ila Jul 23, 2026
21e2eb1
Harden refresh compilation and lineage correctness
ila Jul 23, 2026
a059f61
Finish transactional MV lifecycle
ila Jul 23, 2026
270dd59
Continue cascades past empty refresh nodes
ila Jul 23, 2026
fee5c52
Use NULL-safe window partition refresh
ila Jul 23, 2026
0e0c552
Preserve NULL semantics for incremental SUM
ila Jul 23, 2026
b79f790
Handle computed and distinct SUM outputs
ila Jul 23, 2026
d41a5a5
Fix table-function left join refreshes
ila Jul 23, 2026
577a7c6
Fix nested DISTINCT projection classification
ila Jul 24, 2026
22038ac
Preserve unconditional group row counts
ila Jul 24, 2026
9722e13
Propagate group row counts through wrappers
ila Jul 24, 2026
bfaa6e7
Fix LEFT JOIN pipeline secondary-delta bugs under combined insert+del…
ila Jul 25, 2026
d5a8dce
Add LEFT JOIN pipeline secondary-delta regression test; harden the ge…
ila Jul 27, 2026
2d7d9f0
Scope the LEFT JOIN secondary delta to the MERGE path only
ila Jul 27, 2026
9752bda
Fix spurious duplicate-key failure in group-recompute on persistent d…
ila Jul 27, 2026
f126b54
Fix the same duplicate-key failure on the full-recompute path
ila Jul 27, 2026
8ceb5e8
Fix LEFT JOIN pipeline secondary delta over DuckLake sources
ila Jul 27, 2026
3d6231d
Emit the LEFT JOIN secondary delta at every level, fixing 4+ table ch…
ila Jul 27, 2026
d7f74e7
Fix secondary delta when a GROUP BY column is also the join key
ila Jul 28, 2026
4c59a22
Drop LEFT JOIN aggregate groups once their last preserved-side row is…
ila Jul 29, 2026
4041fd9
Fix clang-tidy failures in the refresh compiler and parser
ila Jul 29, 2026
6008735
Add codex-lj-instructions.md: LEFT JOIN work handoff
ila Jul 29, 2026
997bb77
Flatten DuckLake join deltas and harden LEFT JOIN refresh
ila Jul 30, 2026
7e5f41d
Resolve refresh compiler integration after main rebase
ila Jul 30, 2026
05025ae
Remove redundant refresh compiler plumbing
ila Jul 30, 2026
3904cfb
Fix transactional refresh and left join edge cases
ila Jul 30, 2026
7b8bc0f
Fix PR review lifecycle and concurrency issues
ila Jul 30, 2026
d9bde79
Resolve final PR review findings
ila Jul 30, 2026
2601da6
Harden transactional refresh lifecycle
ila Aug 3, 2026
3b222d0
Merge remote-tracking branch 'origin/main' into refactor-sync
ila Aug 3, 2026
ec44050
Render outer-join transition guards portably
ila Aug 3, 2026
1a65438
Avoid copies in dependency graph traversal
ila Aug 3, 2026
1d7d4e1
Fix redundant DISTINCT classification
ila Aug 3, 2026
02455ef
Fix clang-tidy move warning
ila Aug 3, 2026
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
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ set(EXTENSION_SOURCES
src/upsert/refresh_index_regen.cpp
src/rules/incremental_rewrite_rule.cpp
src/rules/refresh_insert_rule.cpp
src/rules/transactional_delta_capture.cpp
src/rules/schema_evolution.cpp
src/rules/column_hider.cpp
src/core/refresh_locks.cpp
Expand Down
5 changes: 5 additions & 0 deletions benchmark/queries/ducklake_0251.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- {"operators": "AGGREGATE,CASE", "complexity": "medium", "is_incremental": true, "has_nulls": true, "has_cast": false, "has_case": true, "tables": "ORDER_LINE", "ducklake": true}
SELECT OL_W_ID, OL_D_ID, OL_O_ID, OL_NUMBER,
SUM(CASE WHEN OL_DELIVERY_D IS NULL THEN OL_AMOUNT ELSE NULL END) AS pending_amount
FROM dl.ORDER_LINE
GROUP BY OL_W_ID, OL_D_ID, OL_O_ID, OL_NUMBER;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/ducklake_0309.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1140,5 +1140,5 @@ SELECT
min_balance,
max_balance
FROM topk_projected
ORDER BY total_amount DESC, warehouse_id ASC, district_id ASC, customer_id ASC
ORDER BY ROUND(total_amount, 10) DESC, warehouse_id ASC, district_id ASC, customer_id ASC
LIMIT 25 OFFSET 2
2 changes: 2 additions & 0 deletions benchmark/queries/tpcc/ducklake_0316.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- {"operators": "DUCKLAKE,OUTER_JOIN,WINDOW,CAST", "complexity": "high", "is_incremental": true, "has_nulls": true, "has_cast": true, "has_case": false, "tables": "CUSTOMER,OORDER", "ducklake": true, "openivm_verified": true}
SELECT c.C_W_ID AS warehouse_id, c.C_D_ID AS district_id, c.C_ID AS customer_id, o.O_ID AS order_id, ROW_NUMBER() OVER (PARTITION BY c.C_W_ID ORDER BY o.O_ID DESC NULLS LAST, c.C_D_ID, c.C_ID) AS rn FROM dl.CUSTOMER c LEFT JOIN dl.OORDER o ON c.C_W_ID = o.O_W_ID AND c.C_D_ID = o.O_D_ID AND CAST(CAST(c.C_ID AS BIGINT) AS VARCHAR) = CAST(o.O_C_ID AS VARCHAR);
2 changes: 2 additions & 0 deletions benchmark/queries/tpcc/ducklake_0317.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- {"operators": "DUCKLAKE,OUTER_JOIN,WINDOW,CAST", "complexity": "high", "is_incremental": true, "has_nulls": true, "has_cast": true, "has_case": false, "tables": "CUSTOMER,OORDER", "ducklake": true, "openivm_verified": true}
SELECT c.C_W_ID AS warehouse_id, c.C_D_ID AS district_id, c.C_ID AS customer_id, o.O_ID AS order_id, ROW_NUMBER() OVER (PARTITION BY c.C_W_ID ORDER BY o.O_ID DESC NULLS LAST, c.C_D_ID, c.C_ID) AS rn FROM dl.CUSTOMER c LEFT JOIN dl.OORDER o ON c.C_W_ID = o.O_W_ID AND c.C_D_ID = o.O_D_ID AND CAST(TRY_CAST(CAST(c.C_ID AS VARCHAR) AS BIGINT) AS VARCHAR) = CAST(o.O_C_ID AS VARCHAR);
12 changes: 12 additions & 0 deletions benchmark/queries/tpcc/ducklake_0318.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- {"operators": "DUCKLAKE,WINDOW", "complexity": "low", "is_incremental": true, "has_nulls": true, "has_cast": false, "has_case": false, "tables": "ORDER_LINE", "ducklake": true, "openivm_verified": true}
SELECT
OL_W_ID AS warehouse_id,
OL_D_ID AS district_id,
OL_O_ID AS order_id,
OL_NUMBER AS line_number,
OL_DELIVERY_D AS delivery_at,
ROW_NUMBER() OVER (
PARTITION BY OL_DELIVERY_D
ORDER BY OL_W_ID, OL_D_ID, OL_O_ID, OL_NUMBER
) AS delivery_row_number
FROM dl.ORDER_LINE;
9 changes: 9 additions & 0 deletions benchmark/queries/tpcc/ducklake_0319.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-- {"operators": "DISTINCT,SUBQUERY", "complexity": "medium", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "CUSTOMER", "ducklake": true, "openivm_verified": true}
SELECT payment_count % 2 AS parity
FROM (
SELECT distinct_payment_count AS payment_count
FROM (
SELECT DISTINCT C_PAYMENT_CNT AS distinct_payment_count
FROM dl.CUSTOMER
)
);
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2094.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "ASOF_JOIN,FILTER", "complexity": "high", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "ORDER_LINE,OORDER"}
-- {"operators": "ASOF_JOIN,FILTER", "complexity": "high", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "ORDER_LINE,OORDER", "non_incr_reason": "op:ASOF_JOIN"}
SELECT ol.OL_W_ID, ol.OL_D_ID, ol.OL_O_ID, o.O_ENTRY_D FROM ORDER_LINE ol ASOF JOIN OORDER o ON ol.OL_W_ID = o.O_W_ID AND ol.OL_D_ID = o.O_D_ID AND ol.OL_DELIVERY_D >= o.O_ENTRY_D WHERE ol.OL_AMOUNT > 0;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2095.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "ASOF_JOIN,LEFT_JOIN", "complexity": "high", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "ORDER_LINE,OORDER"}
-- {"operators": "ASOF_JOIN,LEFT_JOIN", "complexity": "high", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "ORDER_LINE,OORDER", "non_incr_reason": "op:ASOF_JOIN"}
SELECT ol.OL_W_ID, ol.OL_I_ID, o.O_C_ID FROM ORDER_LINE ol ASOF LEFT JOIN OORDER o ON ol.OL_W_ID = o.O_W_ID AND ol.OL_D_ID = o.O_D_ID AND ol.OL_DELIVERY_D >= o.O_ENTRY_D;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2097.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "ASOF_JOIN,INNER_JOIN", "complexity": "high", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "ORDER_LINE,OORDER,CUSTOMER"}
-- {"operators": "ASOF_JOIN,INNER_JOIN", "complexity": "high", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "ORDER_LINE,OORDER,CUSTOMER", "non_incr_reason": "op:ASOF_JOIN"}
SELECT c.C_W_ID, c.C_D_ID, c.C_ID, ol.OL_AMOUNT FROM ORDER_LINE ol ASOF JOIN OORDER o ON ol.OL_W_ID = o.O_W_ID AND ol.OL_D_ID = o.O_D_ID AND ol.OL_DELIVERY_D >= o.O_ENTRY_D JOIN CUSTOMER c ON c.C_W_ID = o.O_W_ID AND c.C_D_ID = o.O_D_ID AND c.C_ID = o.O_C_ID;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2099.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "ASOF_JOIN,CTE", "complexity": "high", "is_incremental": true, "has_nulls": true, "has_cast": false, "has_case": false, "tables": "ORDER_LINE,OORDER"}
-- {"operators": "ASOF_JOIN,CTE", "complexity": "high", "is_incremental": false, "has_nulls": true, "has_cast": false, "has_case": false, "tables": "ORDER_LINE,OORDER", "non_incr_reason": "op:ASOF_JOIN"}
WITH delivered AS (SELECT * FROM ORDER_LINE WHERE OL_DELIVERY_D IS NOT NULL) SELECT d.OL_W_ID, d.OL_O_ID, o.O_C_ID FROM delivered d ASOF JOIN OORDER o ON d.OL_W_ID = o.O_W_ID AND d.OL_D_ID = o.O_D_ID AND d.OL_DELIVERY_D >= o.O_ENTRY_D;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2101.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "ASOF_JOIN,FULL_OUTER_JOIN", "complexity": "high", "is_incremental": true, "has_nulls": true, "has_cast": false, "has_case": false, "tables": "ORDER_LINE,OORDER,STOCK"}
-- {"operators": "ASOF_JOIN,FULL_OUTER_JOIN", "complexity": "high", "is_incremental": false, "has_nulls": true, "has_cast": false, "has_case": false, "tables": "ORDER_LINE,OORDER,STOCK", "non_incr_reason": "op:ASOF_JOIN"}
SELECT COALESCE(s.S_W_ID, ol.OL_W_ID) AS w_id, COALESCE(s.S_I_ID, ol.OL_I_ID) AS item_id FROM ORDER_LINE ol ASOF JOIN OORDER o ON ol.OL_W_ID = o.O_W_ID AND ol.OL_D_ID = o.O_D_ID AND ol.OL_DELIVERY_D >= o.O_ENTRY_D FULL OUTER JOIN STOCK s ON s.S_W_ID = ol.OL_SUPPLY_W_ID AND s.S_I_ID = ol.OL_I_ID;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2102.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "ASOF_JOIN,SUBQUERY", "complexity": "high", "is_incremental": true, "has_nulls": true, "has_cast": false, "has_case": false, "tables": "ORDER_LINE,OORDER"}
-- {"operators": "ASOF_JOIN,SUBQUERY", "complexity": "high", "is_incremental": false, "has_nulls": true, "has_cast": false, "has_case": false, "tables": "ORDER_LINE,OORDER", "non_incr_reason": "op:ASOF_JOIN"}
SELECT * FROM (SELECT ol.OL_W_ID, ol.OL_D_ID, o.O_ENTRY_D FROM ORDER_LINE ol ASOF JOIN OORDER o ON ol.OL_W_ID = o.O_W_ID AND ol.OL_D_ID = o.O_D_ID AND ol.OL_DELIVERY_D >= o.O_ENTRY_D) q WHERE q.O_ENTRY_D IS NOT NULL;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2103.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "ASOF_JOIN,UNNEST,TABLE_FUNCTION", "complexity": "high", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "ORDER_LINE,OORDER"}
-- {"operators": "ASOF_JOIN,UNNEST,TABLE_FUNCTION", "complexity": "high", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "ORDER_LINE,OORDER", "non_incr_reason": "op:ASOF_JOIN"}
SELECT ol.OL_W_ID, u.label, o.O_ENTRY_D FROM ORDER_LINE ol CROSS JOIN UNNEST(['delivery', 'entry']) AS u(label) ASOF JOIN OORDER o ON ol.OL_W_ID = o.O_W_ID AND ol.OL_D_ID = o.O_D_ID AND ol.OL_DELIVERY_D >= o.O_ENTRY_D;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2114.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "SAMPLE", "complexity": "medium", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK"}
-- {"operators": "SAMPLE", "complexity": "medium", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK", "non_incr_reason": "op:SAMPLE"}
SELECT S_W_ID, S_I_ID, S_QUANTITY FROM STOCK USING SAMPLE reservoir(10 ROWS) REPEATABLE (42);
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2115.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "SAMPLE,AGGREGATE", "complexity": "high", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "ORDER_LINE"}
-- {"operators": "SAMPLE,AGGREGATE", "complexity": "high", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "ORDER_LINE", "non_incr_reason": "op:SAMPLE"}
SELECT OL_W_ID, SUM(OL_AMOUNT) AS sampled_amount FROM (SELECT * FROM ORDER_LINE USING SAMPLE reservoir(25 ROWS) REPEATABLE (7)) sampled_order_line GROUP BY OL_W_ID;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2116.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "SAMPLE,WINDOW", "complexity": "high", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK", "openivm_verified": true}
-- {"operators": "SAMPLE,WINDOW", "complexity": "high", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK", "openivm_verified": true, "non_incr_reason": "op:SAMPLE"}
SELECT S_W_ID, S_I_ID, S_QUANTITY, ROW_NUMBER() OVER (PARTITION BY S_W_ID ORDER BY S_QUANTITY DESC) AS sampled_rank FROM STOCK USING SAMPLE reservoir(20 ROWS) REPEATABLE (11);
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2117.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "SAMPLE,INNER_JOIN", "complexity": "high", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "ITEM,STOCK"}
-- {"operators": "SAMPLE,INNER_JOIN", "complexity": "high", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "ITEM,STOCK", "non_incr_reason": "op:SAMPLE"}
SELECT i.I_ID, i.I_NAME, s.S_W_ID, s.S_QUANTITY FROM (SELECT * FROM STOCK USING SAMPLE reservoir(20 ROWS) REPEATABLE (13)) s JOIN ITEM i ON s.S_I_ID = i.I_ID;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2118.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "SAMPLE,LEFT_JOIN,AGGREGATE", "complexity": "high", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "ITEM,STOCK"}
-- {"operators": "SAMPLE,LEFT_JOIN,AGGREGATE", "complexity": "high", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "ITEM,STOCK", "non_incr_reason": "op:SAMPLE"}
SELECT i.I_IM_ID, COUNT(s.S_I_ID) AS sampled_stock_rows FROM ITEM i LEFT JOIN (SELECT * FROM STOCK USING SAMPLE reservoir(30 ROWS) REPEATABLE (17)) s ON i.I_ID = s.S_I_ID GROUP BY i.I_IM_ID;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2119.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "SAMPLE,UNNEST,TABLE_FUNCTION", "complexity": "high", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK"}
-- {"operators": "SAMPLE,UNNEST,TABLE_FUNCTION", "complexity": "high", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK", "non_incr_reason": "op:SAMPLE"}
SELECT s.S_W_ID, u.threshold FROM (SELECT * FROM STOCK USING SAMPLE reservoir(15 ROWS) REPEATABLE (19)) s CROSS JOIN UNNEST([10, 50, 90]) AS u(threshold) WHERE s.S_QUANTITY >= u.threshold;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2121.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "SAMPLE,PIVOT,AGGREGATE", "complexity": "high", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK"}
-- {"operators": "SAMPLE,PIVOT,AGGREGATE", "complexity": "high", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK", "non_incr_reason": "op:SAMPLE"}
SELECT * FROM (PIVOT (SELECT * FROM STOCK USING SAMPLE reservoir(20 ROWS) REPEATABLE (29)) ON S_W_ID IN (1, 2, 3) USING SUM(S_QUANTITY) GROUP BY S_I_ID) p;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2122.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "POSITIONAL_JOIN", "complexity": "high", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK,ITEM"}
-- {"operators": "POSITIONAL_JOIN", "complexity": "high", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK,ITEM", "non_incr_reason": "join:POSITIONAL"}
SELECT s.S_W_ID, s.S_I_ID, i.I_ID, i.I_NAME FROM STOCK s POSITIONAL JOIN ITEM i;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2123.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "POSITIONAL_JOIN,AGGREGATE", "complexity": "high", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK,ITEM"}
-- {"operators": "POSITIONAL_JOIN,AGGREGATE", "complexity": "high", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK,ITEM", "non_incr_reason": "join:POSITIONAL"}
SELECT s.S_W_ID, COUNT(i.I_ID) AS paired_items, SUM(s.S_QUANTITY) AS paired_qty FROM STOCK s POSITIONAL JOIN ITEM i GROUP BY s.S_W_ID;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2124.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "POSITIONAL_JOIN,WINDOW", "complexity": "high", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "CUSTOMER,OORDER", "openivm_verified": true}
-- {"operators": "POSITIONAL_JOIN,WINDOW", "complexity": "high", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "CUSTOMER,OORDER", "openivm_verified": true, "non_incr_reason": "join:POSITIONAL"}
SELECT c.C_W_ID, c.C_ID, o.O_ID, ROW_NUMBER() OVER (ORDER BY c.C_W_ID, c.C_ID) AS pos_rank FROM CUSTOMER c POSITIONAL JOIN OORDER o;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2125.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "POSITIONAL_JOIN,LEFT_JOIN", "complexity": "high", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK,ITEM,ORDER_LINE"}
-- {"operators": "POSITIONAL_JOIN,LEFT_JOIN", "complexity": "high", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK,ITEM,ORDER_LINE", "non_incr_reason": "join:POSITIONAL"}
SELECT s.S_W_ID, s.S_I_ID, i.I_NAME, ol.OL_AMOUNT FROM STOCK s POSITIONAL JOIN ITEM i LEFT JOIN ORDER_LINE ol ON ol.OL_I_ID = i.I_ID AND ol.OL_SUPPLY_W_ID = s.S_W_ID;
2 changes: 1 addition & 1 deletion benchmark/queries/tpcc/query_2126.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- {"operators": "POSITIONAL_JOIN,UNNEST,TABLE_FUNCTION", "complexity": "high", "is_incremental": true, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK,ITEM"}
-- {"operators": "POSITIONAL_JOIN,UNNEST,TABLE_FUNCTION", "complexity": "high", "is_incremental": false, "has_nulls": false, "has_cast": false, "has_case": false, "tables": "STOCK,ITEM", "non_incr_reason": "join:POSITIONAL"}
SELECT s.S_W_ID, i.I_ID, u.label FROM STOCK s POSITIONAL JOIN ITEM i CROSS JOIN UNNEST(['left_pos', 'right_pos']) AS u(label);
Loading
Loading