I have a Databricks asset bundle with the following structure:
bundle:
name: <some value here>
uuid: <some value here>
include:
- resources/*.yml
variables:
catalog_bronze: {}
catalog_silver: {}
user_name: {}
targets:
dev:
mode: development
default: true
git:
branch: dev
variables:
catalog_bronze: <some value here>
catalog_silver: <some value here>
user_name: <some value here>
workspace:
host: <some value here>
root_path: <some value here>
run_as:
user_name: ${var.user_name}
prod:
mode: production
git:
branch: main
workspace:
host: <some value here>
root_path: <some value here>
variables:
catalog_bronze: bronze_rock_prd
catalog_silver: silver_rock_prd
user_name: <some value here>
When I run the following command:
databricks bundle validate --profile dev --target dev --debug
The validation process takes a very long time, even though my bundle contains very few files.
The last log message I get is:
17:56:13 Debug: Path <my root path> has type directory (ID: <some value> ) pid=17736 mutator=validate:files_to_sync
Has anyone faced this issue? Any ideas on how to speed up the validation or troubleshoot what’s causing the delay?