[Bug] [3.0.0-beta-2] custom parameter does not work in spark plugin sql task #11071
Closed
2 of 3 tasks
Labels
Milestone
Search before asking
What happened
I create a spark sql task to run a spark sql to insert data to another table.
I add a custom parameter and run the task, it failed, the log showed there was a null pointer exception.
What you expected to happen
I think It shoud run properly. But It failed, and It seemed not submit the job to yarn.
How to reproduce
just create a spark task, set "Program Type" to "SQL", use a custom parameter, and run it.
Anything else
I check the database to compare this task and a normally SQL task, I found that in "t_ds_task_definition" table, the json field "localParam" in task_param field lack 2 properties: direct and type
I add the properties manually and rerun the task, it works.
I think the issue is caused by the frontend, when add a custom parameter, there should have 4 properties, but spark task can only input 2 of them, the others didn't have default value.
I didn't know much about frontend, I think someone should fix it.
Version
3.0.0-beta-2
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: