thedatacrew
Databricks Partner

Great feedback, Mridu. I think surfacing it in the job gives the most flexibility. You can do it in the pipeline refresh UI and in the REST API, so surfacing it in the Job YAML seems like a quick win.

i.e.

resources:
  jobs:
    dataverse_data_job:
      name: data_load_${bundle.target}
      email_notifications:
        on_failure:
          - support@xxx.com
      max_concurrent_runs: 2
      tasks:
        - task_key: load_bronze
          pipeline_task:
            pipeline_id: ${resources.pipelines.bronze_pipeline.id}
            full_refresh: true       

        - task_key: load_silver
          depends_on:
            - task_key: load_bronze
          pipeline_task:
            pipeline_id: ${resources.pipelines.silver_pipeline.id}
            full_refresh: true
          tables:
            - name: schema.table_1
              refresh_policy: incremental or full
            - name: schema.table_2
              refresh_policy: incremental or full

      queue:
        enabled: true
      permissions:
        - service_principal_name: ${var.service_principal_pipeline_and_jobs_owner}
          level: IS_OWNER