Open xiangjinwu opened 1 day ago
Seems to be a sqlparser bug on struct & array:
echo "CREATE TABLE t (\"id\" CHARACTER VARYING, \"parameters\" STRUCT<\"name\" CHARACTER VARYING, \"string\" STRUCT<\"value\" CHARACTER VARYING>>[])" | cargo run --bin sqlparser
Describe the bug
Refer to the produce and error messages below. Still investigating.
Specially, the table's column data types changed after executing
sink into table
.Error message/log
To Reproduce
Expected behavior
It should NOT panic. The table definition should NOT change as follows:
How did you deploy RisingWave?
./risedev p
The version of RisingWave
v2.0.1
Additional context
14063