You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar issues.
What happened
Before version 3.X, I could call the following script using non-query (Create workflow->SQL->Data source type: postgres, sql type: non-query)
do $func$
declare
v_sql text;
begin
XXXXXXXX
end $func$;
When I upgraded to 3.2.2, the program reported an error:
[error] sql task error
org.apache.dolphinscheduler.plugin.task.api.TaskException:sql task prepareStatmentAndBind error
What you expected to happen
Create workflow->SQL->Data source type: postgres, sql type: non-query. The pl/pgsql block can be called
How to reproduce
You can reproduce it using the latest version:
Create workflow->SQL->Data source type: postgres, sql type: non-query
Search before asking
What happened
在3.X版本之前我可以使用非查询调用如下脚本(创建工作流->SQL->数据源类型:postgres, sql类型:非查询)$func$
$func$ ;
do
declare
v_sql text;
begin
XXXXXXXX
end
当我升级到3.2.2以后,程序报错:
[error] sql task error
org.apache.dolphinscheduler.plugin.task.api.TaskException:sql task prepareStatmentAndBind error
What you expected to happen
在创建工作流->SQL->数据源类型:postgres, sql类型:非查询。可以调用pl/pgsql块
How to reproduce
使用最新版的就可以复现:
创建工作流->SQL->数据源类型:postgres, sql类型:非查询
Anything else
no
Version
3.2.x
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: