azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

[Synapse] `az synapse spark job submit`: Add ability to pass custom Python files to the job

Open jonmclean opened this issue 8 months ago • 4 comments

Related command az synapse spark job submit

Description Synapse allows users to add Python files to Spark jobs in addition to the main job file. This may include custom .whl files, addition .py files, or anything else that is needed by the main python script. This PR allows users to specify the additional python files through the az CLI interface.

See azure-sdk-for-python SparkBatchJobOptions class

Testing Guide az synapse spark job submit --name MyJobName --workspace MySynapseWorkspace --main-definition-file "abfs://mymainfile" --python-files "abfs://custom_library1.whl" "abfs://custom_library2.whl"

History Notes

[Synapse] az synapse spark job submit: Add optional --python-files argument to job submission


This checklist is used to make sure that common guidelines for a pull request are followed.

jonmclean avatar Jun 27 '24 22:06 jonmclean