apache / dolphinscheduler

Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code
https://dolphinscheduler.apache.org/
Apache License 2.0
12.94k stars 4.64k forks source link

[Improvement][Parameter passing] SQL component passing parameters cannot be directly passed into the entire SQL statement #16864

Open dzygoon opened 4 hours ago

dzygoon commented 4 hours ago

Search before asking

Description

当我使用上游节点传入整个SQL语句时,下游接收此参数的SQL组件无法直接执行这个SQL语句,因为它将其作为字符串接收了,使用了引号进行了包裹,导致SQL执行失败 image

以下是问题的机器翻译: When I pass in the entire SQL statement using the upstream node, the downstream SQL component that receives this parameter cannot execute the SQL statement directly because it received it as a string, wrapped it in quotation marks, and the SQL execution fails.

Are you willing to submit a PR?

Code of Conduct

github-actions[bot] commented 4 hours ago

Search before asking

Description

When I use the upstream node to pass in the entire SQL statement, the downstream SQL component that receives this parameter cannot directly execute the SQL statement because it receives it as a string and wraps it in quotation marks, causing the SQL execution to fail. image

Here is a machine translation of the question: When I pass in the entire SQL statement using the upstream node, the downstream SQL component that receives this parameter cannot execute the SQL statement directly because it received it as a string, wrapped it in quotation marks, and the SQL execution fails.

Are you willing to submit a PR?

Code of Conduct