wale
wale

性别: 注册于 2022-09-06

向TA求助
23金币数
4020 经验值
1个粉丝
主页被访问 1032 次

340 个回答

1 赞同

创建value分区,分区之中包含中文,报错:A string value-partit...

我试了一下,如下所示,中文是可以,能贴一下你的建库语句吗? db_index_1min = database("dfs://Min", VALUE, ['000016.XSHG', '中文', '000905.XSHG', '000852.XSHG'], engine="TSDB") col_names = ['order_book_id', 'datetime', 'open', 'low', 'high', 'close', 'volume', 'total_turnover', 'index...

回答于 2023-06-08 11:47

1 赞同

同一个表按照时间分区并发写入时突然中断,无法删除

用dropPartition强制删除分区。可以参考一下ops模块的dropRecoveringPartitions,链接https://gitee.com/dolphindb/DolphinDBModules/tree/master/ops#34-droprecoveringpartitions-

回答于 2023-06-03 19:51

0 赞同

怎么在后台作业执行后执行另一个作业

在一个方法里定义另一个方法,function1 内定义了 function2,这个dolphindb脚本是不支持的。建议用airflow这种调度框架,复杂的工作流建议用外部调度系统实现,dolphindb有airflow插件,可以参阅一下https://gitee.com/dolphindb/Tutorials_CN/blob/master/Best_Practices_for_DolphinDB_and_Python_AirFlow.md

回答于 2023-05-29 08:51

0 赞同

在python 中订阅流表,向流表增加数据时, python 程序就中断退出

日中中IO_ERROR 1一般是API主动关闭了连接。请检查一下: 1.server和api的版本:server升级到2.00.9版本以后python sdk也要升级到最新版本,否则无法订阅新版本流数据。 2.写入流表和订阅流表是否用了同一个connection session:session不是线程安全的,两者需要创建不同的session。

回答于 2023-05-29 08:43

0 赞同

判断表中某个字段是否不减怎么写?

可以用函数isSorted

回答于 2023-05-29 08:39

0 赞同

请问pydolphindb这个库有计划支持ORM吗?

https://gitee.com/dolphindb/DolphindbInSpringBoot 请参阅一下这个教程,看能否满足需求?

回答于 2023-05-11 14:58

0 赞同

is there a way to ungroup a table

The coming version would include the function ungroup. Now you can write a UDF to solve this problem. def myungroup(t, listColName){ expandIndex = loop(take, til(t.rows()), t[listColName].rowSize()).flatten() g = def(col, expandIndex){ colType = col.type()...

回答于 2023-05-04 15:50

0 赞同

dolphin 长字符串换行有什么特殊符号吗?

没有,长的字符串我一般如下所示的方法写: str="line1" str +="line2"

回答于 2023-05-02 09:49

0 赞同

请问dolphindb有没有求解两元一次方程组的函数库

没有,这个具体用于什么应用场景?

回答于 2023-05-02 09:44

0 赞同

已经创建好的分区数据表可以更改排序列和数据保留策略吗,里面已...

不支持,建议新建一个库,然后从旧库同步过去,参考 https://gitee.com/dolphindb/Tutorials_CN/blob/master/data_synchronization_between_clusters.md。

回答于 2023-04-30 15:10