回放函数报错:inputTables must be one or a tuple of non segmented tables|DataSources...

报错信息:

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)

这里的两张表均是流表。

另外应该如何回放分区表中的数据?

请先 登录 后评论

1 个回答

Yingnan Wang

原因:这里的inputTables currency_market是一张流表,目前不支持以流表作为回放的输入表,可改为内存表;

回放分区表数据可以使用replayDS函数,具体可见https://www.dolphindb.cn/cn/help/FunctionsandCommands/FunctionReferences/r/replayDS.html



请先 登录 后评论