Skip to content

Commit 42e7e56

Browse files
authored
remove duplicate test (apache#15385)
1 parent e5affe1 commit 42e7e56

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

datafusion/sql/tests/cases/plan_to_sql.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -642,12 +642,6 @@ fn roundtrip_statement_with_dialect() -> Result<()> {
642642
parser_dialect: Box::new(GenericDialect {}),
643643
unparser_dialect: Box::new(CustomDialectBuilder::default().with_unnest_as_table_factor(true).build()),
644644
},
645-
TestStatementWithDialect {
646-
sql: "SELECT unnest([1, 2, 3, 4]) from unnest([1, 2, 3]);",
647-
expected: r#"SELECT UNNEST([1, 2, 3, 4]) AS UNNEST(make_array(Int64(1),Int64(2),Int64(3),Int64(4))) FROM UNNEST([1, 2, 3])"#,
648-
parser_dialect: Box::new(GenericDialect {}),
649-
unparser_dialect: Box::new(CustomDialectBuilder::default().with_unnest_as_table_factor(true).build()),
650-
},
651645
TestStatementWithDialect {
652646
sql: "SELECT * FROM unnest_table u, UNNEST(u.array_col)",
653647
expected: r#"SELECT u.array_col, u.struct_col, "UNNEST(outer_ref(u.array_col))" FROM unnest_table AS u CROSS JOIN LATERAL (SELECT UNNEST(u.array_col) AS "UNNEST(outer_ref(u.array_col))")"#,

0 commit comments

Comments
 (0)