<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating a Databricks Asset Bundle with Sequential Pipelines and Workflow using YAML in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/creating-a-databricks-asset-bundle-with-sequential-pipelines-and/m-p/101125#M40552</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/133875"&gt;@smit_tw&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;yes, it is possible to do so, here is the sample yml:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;resources:
  jobs:
    sample_job:
      name: sample_job
      tasks:
        - task_key: JobTask
          run_job_task:
            job_id: 1094194179990459
        - task_key: DltTask1
          depends_on:
            - task_key: JobTask
          pipeline_task:
            pipeline_id: da5fa00c-33b6-4850-8ea3-53f6e8d4b0e9
            full_refresh: false
        - task_key: DltTask2
          depends_on:
            - task_key: DltTask1
          pipeline_task:
            pipeline_id: da5fa00c-33b6-4850-8ea3-53f6e8d4b0e9
            full_refresh: false
      queue:
        enabled: true&lt;/LI-CODE&gt;&lt;P&gt;The possible improvement is to use lookup to to reference jobs and pipelines by their name rather than their ids.&lt;BR /&gt;&lt;BR /&gt;Check this discussion:&lt;BR /&gt;&lt;A href="https://community.databricks.com/t5/data-engineering/getting-job-id-dynamically-to-create-another-job-to-refer-as-job/td-p/88843" target="_blank"&gt;https://community.databricks.com/t5/data-engineering/getting-job-id-dynamically-to-create-another-job-to-refer-as-job/td-p/88843&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2024 19:34:24 GMT</pubDate>
    <dc:creator>filipniziol</dc:creator>
    <dc:date>2024-12-05T19:34:24Z</dc:date>
    <item>
      <title>Creating a Databricks Asset Bundle with Sequential Pipelines and Workflow using YAML</title>
      <link>https://community.databricks.com/t5/data-engineering/creating-a-databricks-asset-bundle-with-sequential-pipelines-and/m-p/101124#M40551</link>
      <description>&lt;P&gt;Is it possible to create a repository with a Databricks asset bundle that includes the following pipelines?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Test1&lt;/STRONG&gt; (Delta Live Table Pipeline)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Test2&lt;/STRONG&gt; (Delta Live Table Pipeline)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Test3&lt;/STRONG&gt; (Delta Live Table Pipeline)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Workflow Job&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Workflow&lt;/STRONG&gt; to execute the above pipelines in sequence (4 → 1 → 2 → 3).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Can you create 5 YAML files that accomplish the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Define and set up the pipelines.&lt;/LI&gt;&lt;LI&gt;Configure the workflow to run them in the specified sequence (4 → 1 → 2 → 3), ensuring each pipeline correctly references the ones it depends on?&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 05 Dec 2024 19:01:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/creating-a-databricks-asset-bundle-with-sequential-pipelines-and/m-p/101124#M40551</guid>
      <dc:creator>smit_tw</dc:creator>
      <dc:date>2024-12-05T19:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Databricks Asset Bundle with Sequential Pipelines and Workflow using YAML</title>
      <link>https://community.databricks.com/t5/data-engineering/creating-a-databricks-asset-bundle-with-sequential-pipelines-and/m-p/101125#M40552</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/133875"&gt;@smit_tw&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;yes, it is possible to do so, here is the sample yml:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;resources:
  jobs:
    sample_job:
      name: sample_job
      tasks:
        - task_key: JobTask
          run_job_task:
            job_id: 1094194179990459
        - task_key: DltTask1
          depends_on:
            - task_key: JobTask
          pipeline_task:
            pipeline_id: da5fa00c-33b6-4850-8ea3-53f6e8d4b0e9
            full_refresh: false
        - task_key: DltTask2
          depends_on:
            - task_key: DltTask1
          pipeline_task:
            pipeline_id: da5fa00c-33b6-4850-8ea3-53f6e8d4b0e9
            full_refresh: false
      queue:
        enabled: true&lt;/LI-CODE&gt;&lt;P&gt;The possible improvement is to use lookup to to reference jobs and pipelines by their name rather than their ids.&lt;BR /&gt;&lt;BR /&gt;Check this discussion:&lt;BR /&gt;&lt;A href="https://community.databricks.com/t5/data-engineering/getting-job-id-dynamically-to-create-another-job-to-refer-as-job/td-p/88843" target="_blank"&gt;https://community.databricks.com/t5/data-engineering/getting-job-id-dynamically-to-create-another-job-to-refer-as-job/td-p/88843&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 19:34:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/creating-a-databricks-asset-bundle-with-sequential-pipelines-and/m-p/101125#M40552</guid>
      <dc:creator>filipniziol</dc:creator>
      <dc:date>2024-12-05T19:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Databricks Asset Bundle with Sequential Pipelines and Workflow using YAML</title>
      <link>https://community.databricks.com/t5/data-engineering/creating-a-databricks-asset-bundle-with-sequential-pipelines-and/m-p/101245#M40593</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/117376"&gt;@filipniziol&lt;/a&gt;&amp;nbsp;, Thank you so much that link is what I was looking for.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 14:03:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/creating-a-databricks-asset-bundle-with-sequential-pipelines-and/m-p/101245#M40593</guid>
      <dc:creator>smit_tw</dc:creator>
      <dc:date>2024-12-06T14:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Databricks Asset Bundle with Sequential Pipelines and Workflow using YAML</title>
      <link>https://community.databricks.com/t5/data-engineering/creating-a-databricks-asset-bundle-with-sequential-pipelines-and/m-p/101259#M40600</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/133875"&gt;@smit_tw&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Great! If this resolves your question, please consider marking it as the solution. It helps others in the community find answers more easily. &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 16:18:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/creating-a-databricks-asset-bundle-with-sequential-pipelines-and/m-p/101259#M40600</guid>
      <dc:creator>filipniziol</dc:creator>
      <dc:date>2024-12-06T16:18:25Z</dc:date>
    </item>
  </channel>
</rss>

