databrickslabs / dbx

🧱 Databricks CLI eXtensions - aka dbx is a CLI tool for development and advanced Databricks workflows management.
https://dbx.readthedocs.io
Other
437 stars 119 forks source link

Unable to launch an SQL task #839

Open praj-ias opened 10 months ago

praj-ias commented 10 months ago

Expected Behavior

Job to be deployed successfully

Current Behavior

Getting an error: ValidationError: 1 validation error for Deployment workflows -> 7 -> Workflow -> tasks -> 0 -> sql_task -> query

Steps to Reproduce (for bugs)

Try and deploy a SQL task with the following definition in the deployment.yaml as shown in the documentation:

  - name: "dpr_example_sql_task"
    tasks:
      - task_key: "dpr_example_sql_task"
        sql_task:
          query: "query://f81c5a62-58e7-454a-8adf-87c95e65c836"
          warehouse_id: "warehouse://e52b150f3a341add"

Context

Tried to launch a DBX task

Your Environment

dev