Skip to content

Commit

Permalink
Refine spark runtime error message (#755)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuqing Wei <weiyuqing021@outlook.com>
  • Loading branch information
Yuqing-cat authored Oct 19, 2022
1 parent aad580d commit 4b9b494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feathr_project/feathr/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def __init__(self, config_path:str = "./feathr_config.yaml", local_workspace_dir
self.credential = credential
if self.spark_runtime not in {'azure_synapse', 'databricks', 'local'}:
raise RuntimeError(
'Only \'azure_synapse\' and \'databricks\' are currently supported.')
f'{self.spark_runtime} is not supported. Only \'azure_synapse\', \'databricks\' and \'local\' are currently supported.')
elif self.spark_runtime == 'azure_synapse':
# Feathr is a spark-based application so the feathr jar compiled from source code will be used in the
# Spark job submission. The feathr jar hosted in cloud saves the time users needed to upload the jar from
Expand Down

0 comments on commit 4b9b494

Please sign in to comment.