Skip to content

Commit

Permalink
[hotfix] fix typo of spark operator (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangxin369 authored Oct 9, 2022
1 parent cb7c3be commit 4cba536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai_flow/operators/spark/spark_submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def _get_executable_path(self):
if self._executable_path:
spark_submit = self._executable_path
elif shutil.which('spark-submit') is not None:
spark_submit = shutil.which('spark_submit')
spark_submit = shutil.which('spark-submit')
self.log.info(f"Using {spark_submit} in PATH")
else:
spark_submit = expand_env_var('${SPARK_HOME}/bin/spark-submit')
Expand Down

0 comments on commit 4cba536

Please sign in to comment.