如何在DolphinDB中的内存表中添加列?

时间:2019-04-19 01:21:15

标签: database dolphindb

DolphinDB中的内存表:

t=table(10:0,`time`sym`bid`ofr,[TIMESTAMP,SYMBOL,DOUBLE,DOUBLE])

想向t添加新的列数,我已经尝试了addColumn函数,但是没有用。

addColumn(t,`count,[INT])

execution was completed with exception
Usage: addColumn(table, newColNames, newColTypes). table must be a streaming table or a dfs-based table.

1 个答案:

答案 0 :(得分:0)

我认为您需要使用SQL更新语句向DolphinDB中的内存表中添加一列。