Skip to content

Commit a4e2203

Browse files
committed
change canonial
1 parent c788526 commit a4e2203

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/sqlparser_snowflake.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3523,7 +3523,7 @@ fn test_nested_join_without_parentheses() {
35233523
assert_eq!(
35243524
only(
35253525
snowflake()
3526-
.verified_only_select_with_canonical(query, "")
3526+
.verified_only_select_with_canonical(query, "SELECT DISTINCT p.product_id FROM orders AS o INNER JOIN (customers AS c INNER JOIN products AS p ON p.customer_id = c.customer_id) ON c.order_id = o.order_id")
35273527
.from
35283528
)
35293529
.joins,
@@ -3604,7 +3604,7 @@ fn test_nested_join_without_parentheses() {
36043604
assert_eq!(
36053605
only(
36063606
snowflake()
3607-
.verified_only_select_with_canonical(query, "")
3607+
.verified_only_select_with_canonical(query, "SELECT DISTINCT p.product_id FROM orders AS o JOIN (customers AS c JOIN products AS p ON p.customer_id = c.customer_id) ON c.order_id = o.order_id")
36083608
.from
36093609
)
36103610
.joins,
@@ -3685,7 +3685,7 @@ fn test_nested_join_without_parentheses() {
36853685
assert_eq!(
36863686
only(
36873687
snowflake()
3688-
.verified_only_select_with_canonical(query, "")
3688+
.verified_only_select_with_canonical(query, "SELECT DISTINCT p.product_id FROM orders AS o LEFT JOIN (customers AS c LEFT JOIN products AS p ON p.customer_id = c.customer_id) ON c.order_id = o.order_id")
36893689
.from
36903690
)
36913691
.joins,
@@ -3766,7 +3766,7 @@ fn test_nested_join_without_parentheses() {
37663766
assert_eq!(
37673767
only(
37683768
snowflake()
3769-
.verified_only_select_with_canonical(query, "")
3769+
.verified_only_select_with_canonical(query, "SELECT DISTINCT p.product_id FROM orders AS o RIGHT JOIN (customers AS c RIGHT JOIN products AS p ON p.customer_id = c.customer_id) ON c.order_id = o.order_id")
37703770
.from
37713771
)
37723772
.joins,
@@ -3847,7 +3847,7 @@ fn test_nested_join_without_parentheses() {
38473847
assert_eq!(
38483848
only(
38493849
snowflake()
3850-
.verified_only_select_with_canonical(query, "")
3850+
.verified_only_select_with_canonical(query, "SELECT DISTINCT p.product_id FROM orders AS o FULL JOIN (customers AS c FULL JOIN products AS p ON p.customer_id = c.customer_id) ON c.order_id = o.order_id")
38513851
.from
38523852
)
38533853
.joins,

0 commit comments

Comments
 (0)