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
https://dolphinscheduler.apache.org/en-us/docs/3.2.0/guide/parameter/context
I have followed the instruction:
Pass parameter from Python task to downstream
Use print('${setValue(key=%s)}' % value), DolphinScheduler will capture the ${setValue(key=value} in the output to capture the parameters and pass them downstream.
value = "INSERT INTO test_user_sync (USERNAME_, NAME_) VALUES ('test-1', '演示用户'),('admin', '孙小');"
print('${setValue(key=%s)}' % value)
At the downstream shell task node:
echo ${key}
I can't get the parameter key
What you expected to happen
I want to get the parameter value at the downstream task of shell.
Search before asking
What happened
https://dolphinscheduler.apache.org/en-us/docs/3.2.0/guide/parameter/context
I have followed the instruction:
Pass parameter from Python task to downstream
Use print('${setValue(key=%s)}' % value), DolphinScheduler will capture the ${setValue(key=value} in the output to capture the parameters and pass them downstream.
At the downstream shell task node:
echo ${key}
I can't get the parameter key
What you expected to happen
I want to get the parameter value at the downstream task of shell.
How to reproduce
Python Version: 3.6.8
DolphinSheduler version: 3.2.0 Standalone mode
Python:
Shell:
echo ${key}
Anything else
No response
Version
3.2.x
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: