Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
forsaken628 committed Dec 25, 2024
1 parent 37628b5 commit 8dcee5a
Showing 1 changed file with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,12 @@ INSERT INTO TABLE `05_0003_at_t4` values('a', 'b', ['c1', 'c2'], ('d1', 'd2'))
query TT
SHOW CREATE TABLE `05_0003_at_t4`
----
05_0003_at_t4 CREATE TABLE "05_0003_at_t4" ( a VARCHAR NOT NULL, b VARCHAR NULL, c ARRAY(STRING) NULL, d TUPLE(1 STRING, 2 STRING) NULL ) ENGINE=FUSE
05_0003_at_t4 CREATE TABLE "05_0003_at_t4" (
a VARCHAR NOT NULL,
b VARCHAR NULL,
c ARRAY(VARCHAR NULL) NULL,
d TUPLE(1 VARCHAR NULL, 2 VARCHAR NULL) NULL
) ENGINE=FUSE

query TTTT
SELECT * FROM `05_0003_at_t4`
Expand All @@ -152,7 +157,12 @@ ALTER TABLE `05_0003_at_t4` MODIFY COLUMN d tuple(binary, binary) null
query TT
SHOW CREATE TABLE `05_0003_at_t4`
----
05_0003_at_t4 CREATE TABLE "05_0003_at_t4" ( a BINARY NOT NULL, b BINARY NULL, c ARRAY(BINARY) NULL, d TUPLE(1 BINARY, 2 BINARY) NULL ) ENGINE=FUSE
05_0003_at_t4 CREATE TABLE "05_0003_at_t4" (
a BINARY NOT NULL,
b BINARY NULL,
c ARRAY(BINARY NULL) NULL,
d TUPLE(1 BINARY NULL, 2 BINARY NULL) NULL
) ENGINE=FUSE

query
SELECT * FROM `05_0003_at_t4`
Expand All @@ -174,7 +184,12 @@ ALTER TABLE `05_0003_at_t4` MODIFY COLUMN d tuple(string, string) null
query TT
SHOW CREATE TABLE `05_0003_at_t4`
----
05_0003_at_t4 CREATE TABLE "05_0003_at_t4" ( a VARCHAR NOT NULL, b VARCHAR NULL, c ARRAY(STRING) NULL, d TUPLE(1 STRING, 2 STRING) NULL ) ENGINE=FUSE
05_0003_at_t4 CREATE TABLE "05_0003_at_t4" (
a VARCHAR NOT NULL,
b VARCHAR NULL,
c ARRAY(VARCHAR NULL) NULL,
d TUPLE(1 VARCHAR NULL, 2 VARCHAR NULL) NULL
) ENGINE=FUSE

query TTTT
SELECT * FROM `05_0003_at_t4`
Expand Down

0 comments on commit 8dcee5a

Please sign in to comment.