Databricks.API.PowerShell icon indicating copy to clipboard operation
Databricks.API.PowerShell copied to clipboard

New-DatabricksJobRun should not expect JobID

Open xqguo opened this issue 2 years ago • 1 comments

This cmd-let is used to post to endpoint api/2.0/jobs/runs/submit, which does not support/require JobID. However, the code makes JobID mandatory and the if conditions on it made it impossible to post a correct request.

If I remove all references to JobID then the code works, but I am not very familiar with Powershell code, so I did not want to create a pull request on this as I am not sure if the change is good enough.

xqguo avatar Apr 06 '23 07:04 xqguo

I made the JobID parameter not mandatory now - so this should work once the new version is released in the next days

gbrueckl avatar May 25 '23 08:05 gbrueckl