我在 dolphindb 中建立了一个分布式数据库来存储股票分钟数据。我使用以下脚本对数据进行分区date
并附加数据以进行测试。symbols
我很困惑为什么最后一个查询返回 0?
data = loadText ('/mnt/data/201905.csv')
//select count(*) from data == 10950032
Syms = symbol (['000001','001001','002001','003001','999999'])
db_date = database (, VALUE, 2019.06.23... 2019.12.31)
db_sym = database (, RANGE, syms)
dB = database ('dfs://stock_minute1', COMPO, [db_date, db_sym])
partitionedTableHandler = db. createPartitionedTable (data,'minute', ['date','symbol'])
partitionedTableHandler.append!(data)
//select count(*) from loadTable('dfs://stock_minute1')== 0//?why