wale
wale

性别: 注册于 2022-09-06

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

340 个回答

0 赞同

怎么通过dos执行linux命令行指令

可用shell函数: shell("tar xvf xxx.tar.gz")

回答于 2023-10-20 18:37

0 赞同

PartitionedTableAppender并发写入的连接池数量怎么设置

是的,这个参数就是指定thread Number,具体请参考https://github.com/dolphindb/api_python3/blob/master/README_CN_NEW/2_BasicOperations/2.2_DBConnectionPool/2.2.1_Constructor.md DBConnectionPool 的参数说明

回答于 2023-10-20 17:17

2 赞同

Not allowed to create a vector with type DECIMAL128

目前python api还不支持DECIMAL128,预计12月发布python api版本支持DECIMAL128

回答于 2023-10-20 17:13

0 赞同

执行查询语句时是否有超时退出机制

自动取消没有,手工取消可以用cancelJob(取消批处理作业)、cancelConsoleJob(取消已经提交但是尚未完成的交互式任务)。

回答于 2023-10-20 14:19

0 赞同

python里面调用ddb函数输出乱码

python控制台输出改为utf-8编码试试看

回答于 2023-10-20 10:46

0 赞同

BlockReaderSP 的示例代码里,priority=4 和 parallelism=2 这两...

parallelism 是作业的并行度,priority 是作业优先级,每次 run() 相当于提交一个 job,可以参考这里的参数说明 https://docs.dolphindb.cn/zh/help/FunctionsandCommands/FunctionReferences/g/getConsoleJobs.html?highlight=parallelism 更详细的说明请参考: https://gitee.com/dolphindb/Tutorials_CN/blob/master/j...

回答于 2023-10-20 09:42

0 赞同

请问dolphindb的vscode调试.json配置文件怎么写

 请在launch.json 里加上类似下面的调试配置: {    // 使用 IntelliSense 了解相关属性。     // 悬停以查看现有属性的描述。    // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387    "version": "0.2.0",    "configurations": [        {            "name": "调试当前 DolphinDB 脚本文件"...

回答于 2023-10-20 09:37

0 赞同

元编程中可以使用distinct吗

用sqlCol函数,代码改为: sql(sqlCol(colName,distinct,`industry_name),  tbStockDict) 例如: share streamTable(10000:0,`Symbol`T`BP1`BQ1`AP1`AQ1`Sim,[SYMBOL,NANOTIME,DOUBLE,INT,DOUBLE,INT,BOOL]) as LV2 colName="Symbol" sql(sqlCol(colName,distinct,`industry_name), LV2).eval();

回答于 2023-10-18 14:25

0 赞同

Cannot recoanize the token schemaTe

dolphindb不支持全局变量,用到全局变量需要通过参数传入,因此schemaTB要作为参数传入自定义函数writeData。

回答于 2023-10-14 17:37

0 赞同

有没有函数能够在每分钟滚动计算某一列过去五分钟的平均值

请参考一下时序滑动窗口系列(tm 系列)函数,tmavg    可在给定长度(以时间 T 衡量)的滑动窗口内计算 X 元素的平均值

回答于 2023-10-14 12:38