databricks / cli

Databricks CLI
Other
148 stars 56 forks source link

Report all empty resources present in error diagnostic #1685

Closed shreyas-goenka closed 3 months ago

shreyas-goenka commented 3 months 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