Skip to content

Commit 0897435

Browse files
committed
refactor(struct.slt): remove redundant tests covered by existing suites
1 parent 2f15474 commit 0897435

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

datafusion/sqllogictest/test_files/struct.slt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,6 @@ Struct("r": Utf8, "c": Float64)
492492
statement ok
493493
drop table t;
494494

495-
# Redundant test removed: covered by the 'Struct Casting with Field Reordering' suite
496-
497495
##################################
498496
## Test Coalesce with Struct
499497
##################################
@@ -558,7 +556,6 @@ create table t(a struct(r varchar, c int), b struct(r varchar, c float)) as valu
558556
(row('red', 1), row(2.3, 'blue')),
559557
(row('purple', 1), row('green', 2.3));
560558

561-
# Redundant test removed: out-of-order struct literal is covered by casting tests below
562559

563560
##################################
564561
## Test Array of Struct
@@ -569,7 +566,6 @@ select [{r: 'a', c: 1}, {r: 'b', c: 2}];
569566
----
570567
[{r: a, c: 1}, {r: b, c: 2}]
571568

572-
# Redundant array literal test removed: covered by the 'Struct Casting with Field Reordering' suite
573569

574570
statement ok
575571
create table t(a struct(r varchar, c int), b struct(r varchar, c float)) as values (row('a', 1), row('b', 2.3));
@@ -582,7 +578,6 @@ List(Struct("r": Utf8View, "c": Float32))
582578
statement ok
583579
drop table t;
584580

585-
# Redundant create/select array-with-different-struct-types test removed: functionality covered by later 'Struct Casting with Field Reordering' table tests
586581

587582
statement ok
588583
create table t(a struct(r varchar, c int, g float), b struct(r varchar, c float, g int)) as values (row('a', 1, 2.3), row('b', 2.3, 2));

0 commit comments

Comments
 (0)