[Bug] jdbc task cannot obtain the set variable value when the task takes a long time #4276
Open
2 tasks done
Labels
bug
Something isn't working
Search before asking
Linkis Component
linkis-engineconnn-plugin
Steps to reproduce
1, create a jdbc job ,then publish to schedulis;
2, the jdbc job have set variable like below:
set yesterday= date_sub(current_date,1);
3, used variable like :
select * from xxx where usetime>= ${hiveconf:yesterday}
4, server get the code right.
select * from xxx where usetime>= ${hiveconf:yesterday}
5, but the final conversion sql is:
select * from xxx where usetime>=
Expected behavior
final conversion sql is:
select * from xxx where usetime>= date_sub(current_date,1)
Your environment
Anything else
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: