You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
测试如下:
#创建表 mr_tbl
CREATE TABLE mr_tbl
( id UInt8, name String, age Int, local Array(String)
)
ENGINE = MergeTree()
ORDER BY id
#向表mr_tbl中插入数据
insert into table mr_tbl values (1,'zs',18,['beijing','shanghai']),(2,'ls',19,['guangzhou','hangzhou']),(3,'ww',20,[]);
#查询
SELECT id,name,age,local FROM mr_tbl ARRAY JOIN local
#报错
Cause: java.sql.SQLException: sql injection violation, dbType clickhouse, , druid-version 1.2.8, syntax error: not supported.pos 382, line 15, column 50, token IDENTIFIER ARRAY
The text was updated successfully, but these errors were encountered:
测试如下:
#创建表 mr_tbl
CREATE TABLE mr_tbl
(
id
UInt8,name
String,age
Int,local
Array(String))
ENGINE = MergeTree()
ORDER BY id
#向表mr_tbl中插入数据
insert into table mr_tbl values (1,'zs',18,['beijing','shanghai']),(2,'ls',19,['guangzhou','hangzhou']),(3,'ww',20,[]);
#查询
SELECT id,name,age,local FROM mr_tbl ARRAY JOIN local
#报错
Cause: java.sql.SQLException: sql injection violation, dbType clickhouse, , druid-version 1.2.8, syntax error: not supported.pos 382, line 15, column 50, token IDENTIFIER ARRAY
The text was updated successfully, but these errors were encountered: