Skip to content

Commit f0583a6

Browse files
committed
Update tests
1 parent 6b7659d commit f0583a6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

datafusion/sqllogictest/test_files/struct.slt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,14 +459,14 @@ create table t as values({r: 'a', c: 1}), ({r: 'b', c: 2.3});
459459
query ?
460460
select * from t;
461461
----
462-
{c0: a, c1: 1.0}
463-
{c0: b, c1: 2.3}
462+
{r: a, c: 1.0}
463+
{r: b, c: 2.3}
464464

465465
query T
466466
select arrow_typeof(column1) from t;
467467
----
468-
Struct([Field { name: "c0", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field { name: "c1", data_type: Float64, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }])
469-
Struct([Field { name: "c0", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field { name: "c1", data_type: Float64, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }])
468+
Struct([Field { name: "r", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field { name: "c", data_type: Float64, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }])
469+
Struct([Field { name: "r", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field { name: "c", data_type: Float64, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }])
470470

471471
statement ok
472472
drop table t;

0 commit comments

Comments
 (0)