coze-studio icon indicating copy to clipboard operation
coze-studio copied to clipboard

SQL自定义查询问题

Open Cerber2ol8 opened this issue 1 year ago • 2 comments

Describe the bug SQL自定义查询会出现报错

{ "$error": "Workflow execution failure: failed to parse SQL: line 1 column 1 near "?" " }

To Reproduce 只要SQL自定义节点的SQL语句输入框内输入类似

{{input}}

的变量引用,就会触发该错误,试运行和执行节点测试都会出现该错误。

此外,只要节点内SQL输入框有内容,执行节点测试时均不会正确查询试运行输入框中的语句,而是会直接按照SQL输入框内的语句进行查询。

经测试,线上版本的coze使用同样的表和查询命令均不会出现上述错误。

Image

左侧为线上版本,右侧为开源版本

Cerber2ol8 avatar Sep 03 '25 07:09 Cerber2ol8

最新 main 分支应该已经修复了这个问题,后面打了新的镜像版本可以解决

shentongmartin avatar Sep 03 '25 07:09 shentongmartin

最新 main 分支应该已经修复了这个问题,后面打了新的镜像版本可以解决

感谢回答,请问新版本镜像大概什么时候会更新

Cerber2ol8 avatar Sep 03 '25 07:09 Cerber2ol8