Skip to content

Commit

Permalink
fix dry plan test
Browse files Browse the repository at this point in the history
  • Loading branch information
goldmedal committed Jul 3, 2024
1 parent d775860 commit 36901e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions wren-tests/src/test/java/io/wren/testing/TestMDLResource.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public void testDryRunAndDryPlan()
, "Orders"."custkey" "custkey"
, "Orders_relationsub"."customer_name" "customer_name"
FROM
((
(
SELECT
"Orders"."orderkey" "orderkey"
, "Orders"."custkey" "custkey"
Expand All @@ -245,7 +245,7 @@ LEFT JOIN (
"Orders"."orderkey"
, "Customer"."name" "customer_name"
FROM
((
(
SELECT
o_orderkey "orderkey"
, o_custkey "custkey"
Expand All @@ -256,8 +256,8 @@ LEFT JOIN (
tpch.orders
) "Orders"
) "Orders"
LEFT JOIN "Customer" ON ("Customer"."custkey" = "Orders"."custkey"))
) "Orders_relationsub" ON ("Orders"."orderkey" = "Orders_relationsub"."orderkey"))
LEFT JOIN "Customer" ON ("Customer"."custkey" = "Orders"."custkey")
) "Orders_relationsub" ON ("Orders"."orderkey" = "Orders_relationsub"."orderkey")
)\s
SELECT customer_name
FROM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public void testDryPlan()
, "Orders"."custkey" "custkey"
, "Orders_relationsub"."customer_name" "customer_name"
FROM
((
(
SELECT
"Orders"."orderkey" "orderkey"
, "Orders"."custkey" "custkey"
Expand All @@ -171,7 +171,7 @@ LEFT JOIN (
"Orders"."orderkey"
, "Customer"."name" "customer_name"
FROM
((
(
SELECT
o_orderkey "orderkey"
, o_custkey "custkey"
Expand All @@ -182,8 +182,8 @@ LEFT JOIN (
tpch.orders
) "Orders"
) "Orders"
LEFT JOIN "Customer" ON ("Customer"."custkey" = "Orders"."custkey"))
) "Orders_relationsub" ON ("Orders"."orderkey" = "Orders_relationsub"."orderkey"))
LEFT JOIN "Customer" ON ("Customer"."custkey" = "Orders"."custkey")
) "Orders_relationsub" ON ("Orders"."orderkey" = "Orders_relationsub"."orderkey")
)\s
SELECT customer_name
FROM
Expand Down

0 comments on commit 36901e4

Please sign in to comment.