原因:这里的inputTables currency_market是一张流表,目前不支持以流表作为回放的输入表,可改为内存表;
回放分区表数据可以使用replayDS函数,具体可见https://www.dolphindb.cn/cn/help/FunctionsandCommands/FunctionReferences/r/replayDS.html
报错信息:
Usage: replay(inputTables, outputTables, [dateColumn], [timeColumn], [replayRate], [absoluteRate=true], [parallelLevel=1]). inputTables must be one or a tuple of non segmented tables|DataSources
脚本:
replay(inputTables=currency_table,outputTables=currency_result)
这里的两张表均是流表。
另外应该如何回放分区表中的数据?
原因:这里的inputTables currency_market是一张流表,目前不支持以流表作为回放的输入表,可改为内存表;
回放分区表数据可以使用replayDS函数,具体可见https://www.dolphindb.cn/cn/help/FunctionsandCommands/FunctionReferences/r/replayDS.html