You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "batmanneverdie (via GitHub)" <gi...@apache.org> on 2023/03/10 11:43:44 UTC
[GitHub] [dolphinscheduler] batmanneverdie commented on issue #13615: [Bug] [] Built-in parameters are written in sql and cannot be executed.
batmanneverdie commented on issue #13615:
URL: https://github.com/apache/dolphinscheduler/issues/13615#issuecomment-1463685245
我在 ds 3.1.3 中也遇到了这个问题,我的解决方案是替换 3.1.3 中 `org.apache.dolphinscheduler.plugin.task.sql.SqlTask#getSqlAndSqlParamsMap` 的`Map<String, Property> paramsMap = taskExecutionContext.getPrepareParamsMap();`代码为 ds 2.0.7-release 版本的同方法的下的
```
// combining local and global parameters
Map<String, Property> paramsMap = ParamUtils.convert(taskExecutionContext, getParameters());
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org