<?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: Confusion about {{run_id}} and {{parent_run_id}} variables for Databricks jobs (Azure) in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/confusion-about-run-id-and-parent-run-id-variables-for/m-p/8827#M4358</link>
    <description>&lt;P&gt;@Kasper H​&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you are correct in your understanding that in Databricks jobs with multiple tasks, the {{run_id}} variable corresponds to the task_run_id and the {{parent_run_id}} variable corresponds to the job_run_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Databricks jobs with only one task, the {{parent_run_id}} variable still corresponds to the task_run_id, which is the unique identifier for that particular run of the task. In this case, the {{run_id}} variable would correspond to the job_run_id, which is the unique identifier for the entire job run that includes that single task.&lt;/P&gt;&lt;P&gt;So, in summary:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For Databricks jobs with multiple tasks: {{run_id}} = task_run_id, {{parent_run_id}} = job_run_id&lt;/LI&gt;&lt;LI&gt;For Databricks jobs with only one task: {{run_id}} = job_run_id, {{parent_run_id}} = task_run_id&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 31 Mar 2023 15:44:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-03-31T15:44:41Z</dc:date>
    <item>
      <title>Confusion about {{run_id}} and {{parent_run_id}} variables for Databricks jobs (Azure)</title>
      <link>https://community.databricks.com/t5/data-engineering/confusion-about-run-id-and-parent-run-id-variables-for/m-p/8826#M4357</link>
      <description>&lt;P&gt;In Databricks jobs on Azure you can use the&amp;nbsp;{{run_id}} and {{parent_run_id}}&lt;/P&gt;&lt;P&gt;variables for a specific run:&amp;nbsp;&lt;A href="https://docs.databricks.com/workflows/jobs/jobs.html" alt="https://docs.databricks.com/workflows/jobs/jobs.html" target="_blank"&gt;https://docs.databricks.com/workflows/jobs/jobs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Databricks jobs with only two or more tasks, then&amp;nbsp;{{run_id}}&amp;nbsp;seems to correspond to&amp;nbsp;&lt;/P&gt;&lt;P&gt;task_run_id&amp;nbsp;and {{parent_run_id}}&amp;nbsp;seems to correspond to the job_run_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Databricks jobs with only one task, then&amp;nbsp;&lt;/P&gt;&lt;P&gt;{{parent_run_id}}&amp;nbsp;seems to correspond to the task_run_id, but what does the&amp;nbsp;&lt;/P&gt;&lt;P&gt;{{run_id}}&amp;nbsp;correspond to? Is that the&amp;nbsp;job_run_id?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 09:52:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/confusion-about-run-id-and-parent-run-id-variables-for/m-p/8826#M4357</guid>
      <dc:creator>essentialDatabr</dc:creator>
      <dc:date>2023-02-23T09:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Confusion about {{run_id}} and {{parent_run_id}} variables for Databricks jobs (Azure)</title>
      <link>https://community.databricks.com/t5/data-engineering/confusion-about-run-id-and-parent-run-id-variables-for/m-p/8827#M4358</link>
      <description>&lt;P&gt;@Kasper H​&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you are correct in your understanding that in Databricks jobs with multiple tasks, the {{run_id}} variable corresponds to the task_run_id and the {{parent_run_id}} variable corresponds to the job_run_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Databricks jobs with only one task, the {{parent_run_id}} variable still corresponds to the task_run_id, which is the unique identifier for that particular run of the task. In this case, the {{run_id}} variable would correspond to the job_run_id, which is the unique identifier for the entire job run that includes that single task.&lt;/P&gt;&lt;P&gt;So, in summary:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For Databricks jobs with multiple tasks: {{run_id}} = task_run_id, {{parent_run_id}} = job_run_id&lt;/LI&gt;&lt;LI&gt;For Databricks jobs with only one task: {{run_id}} = job_run_id, {{parent_run_id}} = task_run_id&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 15:44:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/confusion-about-run-id-and-parent-run-id-variables-for/m-p/8827#M4358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-31T15:44:41Z</dc:date>
    </item>
  </channel>
</rss>

