Skip to content

Commit 948395d

Browse files
committed
fix spark-sql error when set --driver-java-options
1 parent 9a54de1 commit 948395d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bin/spark-sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ while (($#)); do
8484
CLI_ARGS+=($1)
8585
SUBMISSION_ARGS+=($1); shift
8686
;;
87+
88+
--driver-java-options)
89+
shift;
90+
export SPARK_SUBMIT_OPTS=$1; shift
91+
;;
8792

8893
*)
8994
SUBMISSION_ARGS+=($1); shift

0 commit comments

Comments
 (0)