可以写个自定义函数: def findR(path, pattern=NULL){ t = files(path) if (isValid(pattern)){ t = files(path, pattern) } res = select * from t where !isDir update res set res.filename = path +"/" + res.filename for (f in select * from files(path) where !!isDir){ try { subRes = findR(path...
回答于 2022-10-27 13:33
是的 Python 和 DolphinDB 的函数名称查找过程不同, 闭包的实现也不同 不过可以通过两种办法绕过 1. 部分应用 def f(argf){ g = def(arg){return arg()}{argf}} 2. 采用 call 函数间接调用 def f(argf){ g = def(): call(argf)} 另外可以看一下使用 DolphinDB 脚本实现的 z 组合子: (参考了 https://lp...
回答于 2022-10-26 10:41
试一下 stty 重置 cols 和 rows stty rows 50 && stty cols 150
回答于 2022-10-10 13:39
如果连接 MS SQL Server 还要另外装驱动 比如对客户端操作系统是centos 7 要连接服务端 2017 版本的 SQL Server ,需要 wget https://packages.microsoft.com/rhel/7/prod/msodbcsql17-17.3.1.1-1.x86_64.rpm rpm -ivh msodbcsql17-17.3.1.1-1.x86_64.rpm ll /opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.3.so...
回答于 2022-05-20 21:55
您说的 parser 是指这个吗 https://www.dolphindb.cn/cn/help/FunctionsandCommands/FunctionReferences/s/streamEngineParser.html?highlight=streamengineparser
回答于 2022-05-07 09:58
ok, i'll file an issue, thanks very much
回答于 2022-03-29 15:41
new version is to be released tomorrow, stay tuned
回答于 2022-03-28 18:20
可以使用 moving 函数 v = 10 -1 0 0 1 2 3 1 0 0 -1 -1 n=4 moving(maxPositiveStreak,iif(v>0, 1, 0), n)
回答于 2022-03-14 10:30