databricks / cli

Databricks CLI
Other
132 stars 50 forks source link

Report all empty resources present in error diagnostic #1685

Closed shreyas-goenka closed 1 month ago

shreyas-goenka commented 1 month ago

Changes

This PR addressed post-merge feedback from https://github.com/databricks/cli/pull/1673.

Tests

Unit tests, and manually.

Error: experiment undefined-experiment is not defined
  at resources.experiments.undefined-experiment
  in databricks.yml:11:26

Error: job undefined-job is not defined
  at resources.jobs.undefined-job
  in databricks.yml:6:19

Error: pipeline undefined-pipeline is not defined
  at resources.pipelines.undefined-pipeline
  in databricks.yml:14:24

Name: undefined-job
Target: default

Found 3 errors