server报错An array vector doesn't support the base type DECIMAL32

server版本为V2.00.10.2,看到手册上面关于array vector说是支持DECIMAL数据类别,但是实际上却好像并不支持,请问这是为什么呢?

问题由来:

我想使用loadText将如下文件加载为内存表,然后需要修改其中的data2列数据为decimal32(2),就用了下面的代码进行修改,但是却报错了

attachments-2023-11-RcXJbAhT65538e7654ac3.png

代码部分:

schema = extractTextSchema("E:/Desktop/data.csv");

schema;

update schema set type="decimal32(2)[]" where name=`data2;

schema;

tt=loadText("E:/Desktop/data.csv",,schema,arrayDelimiter=",");

tt;

还是我的代码有什么问题呢?

请先 登录 后评论

1 个回答

Boye

sorry,目前loadText支持decimal类型, 但是还不支持decimal[] 

请先 登录 后评论