Radeity commented on code in PR #14527:
URL:
https://github.com/apache/dolphinscheduler/pull/14527#discussion_r1264700425
##########
dolphinscheduler-task-plugin/dolphinscheduler-task-spark/src/main/java/org/apache/dolphinscheduler/plugin/task/spark/SparkTask.java:
##########
@@ -195,9 +198,29 @@ private List<String> populateSparkOptions() {
}
// bin/spark-sql -f fileName
+ String sqlContent = "";
+ String resourceFileName = "";
Review Comment:
We should put these variable declarations inside the following if-block.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]