dolphinscheduler: Variables in spark-sql script in 3.0.1 cannot be replaced

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

spark-sql 脚本中的变量无法替换

What you expected to happen

select * from t_user where insert_time=${dt}

脚本中的dt无法使用自定义的时间参数($[yyyy-MM-dd])替换

How to reproduce

select * from t_user where insert_time=${dt}

脚本中的dt无法使用自定义的时间参数($[yyyy-MM-dd])替换

Anything else

No response

Version

3.0.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

I will try to reproduce and fix this.