cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Databricks job api validation

Mustafa91
New Contributor II

Hey everyone,

โ€‹

I am creating databricks Jobs using ADO pipelines. I am creating the json content using python and in thr release pipeline i call databricks cli create command with the json.

โ€‹

Wโ€‹hat I would like to do is that in my CI pipeline, I need to validate if the generated json content is valid or not. I cannot know if the json is correct or not until I really create the job. Is there cli command or rest api to validate the job json? Smth like "databricks validate ***.json"

2 REPLIES 2

Debayan
Databricks Employee
Databricks Employee

Hi,

Json validator is not integrated with Databricks, however few online validators are available for example: https://jsonlint.com/

https://jsonformatter.curiousconcept.com/

Please let us know if this helps. 

Also please tag @Debayanโ€‹ with your next response which will notify me, Thank you!

Anonymous
Not applicable

Hi @Mustafa Akilliโ€‹ 

Thank you for your question! To assist you better, please take a moment to review the answer and let me know if it best fits your needs.

Please help us select the best solution by clicking on "Select As Best" if it does.

Your feedback will help us ensure that we are providing the best possible service to you.

Thank you!

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group