<?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: How to version your workflows/jobs in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50173#M28723</link>
    <description>&lt;P&gt;Thank you very much for all your answers&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2023 07:44:51 GMT</pubDate>
    <dc:creator>ashdam</dc:creator>
    <dc:date>2023-10-31T07:44:51Z</dc:date>
    <item>
      <title>How to version your workflows/jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/49981#M28670</link>
      <description>&lt;P&gt;WE would like to version control workflows/jobs over git, not the underlying notebooks but the job logic itself&lt;/P&gt;&lt;P&gt;is it possible?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 07:34:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/49981#M28670</guid>
      <dc:creator>ashdam</dc:creator>
      <dc:date>2023-10-27T07:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to version your workflows/jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50003#M28677</link>
      <description>&lt;P&gt;where do you see the job's code inside a notebook?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ashdam_0-1698401582835.png" style="width: 516px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4607i48F222CABFA6B1B7/image-dimensions/516x178/is-moderation-mode/true?v=v2" width="516" height="178" role="button" title="ashdam_0-1698401582835.png" alt="ashdam_0-1698401582835.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 10:14:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50003#M28677</guid>
      <dc:creator>ashdam</dc:creator>
      <dc:date>2023-10-27T10:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to version your workflows/jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50004#M28678</link>
      <description>&lt;P&gt;Another question if I want to make some changes at job level in dev but maintain the production job, whats the prodedure?&amp;nbsp;Clone the production job to dev a folder make changes and then substitute?&lt;/P&gt;&lt;P&gt;And last question, if i want to run the job master for instance but executing in dev branch? is that possible?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 10:23:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50004#M28678</guid>
      <dc:creator>ashdam</dc:creator>
      <dc:date>2023-10-27T10:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to version your workflows/jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50014#M28684</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/92411"&gt;@ashdam&lt;/a&gt;&amp;nbsp;you can create multiple branches in git like dev, qa, main . dev/qa you can perform changes what ever you want to make. if you want those changes in main which is production branch then you can create PR and you can merge else you can just have main branch without any changes&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 11:08:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50014#M28684</guid>
      <dc:creator>karthik_p</dc:creator>
      <dc:date>2023-10-27T11:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to version your workflows/jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50017#M28686</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/72939"&gt;@karthik_p&lt;/a&gt;&amp;nbsp;yeah thats how git works but How do I put a job's code into GIT? (Not the notebook, the job's code)&lt;/P&gt;&lt;P&gt;How Do I test/parametrice the same job for working in dev/uaT/prod?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 12:31:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50017#M28686</guid>
      <dc:creator>ashdam</dc:creator>
      <dc:date>2023-10-27T12:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to version your workflows/jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50047#M28693</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/92411"&gt;@ashdam&lt;/a&gt;&amp;nbsp;dis you tried DAB in Databricks, it has version control mechanism for jobs to , try to leverage that functionality&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2023 21:48:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50047#M28693</guid>
      <dc:creator>karthik_p</dc:creator>
      <dc:date>2023-10-28T21:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to version your workflows/jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50098#M28711</link>
      <description>&lt;P&gt;do you know if this has addtional cost?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 09:36:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50098#M28711</guid>
      <dc:creator>ashdam</dc:creator>
      <dc:date>2023-10-30T09:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to version your workflows/jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50112#M28719</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/92411"&gt;@ashdam&lt;/a&gt;&amp;nbsp;NO cost is Involved, currently&amp;nbsp; it is in public preview, soon we can expect into GA&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 14:43:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50112#M28719</guid>
      <dc:creator>karthik_p</dc:creator>
      <dc:date>2023-10-30T14:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to version your workflows/jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50154#M28722</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/92411"&gt;@ashdam&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You've got three ways of doing the workflows deployment:&lt;/P&gt;&lt;P&gt;1. DAB (Databricks Asset Bundles)&lt;BR /&gt;2. Terraform (&lt;A href="https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/job" target="_blank"&gt;https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/job&lt;/A&gt;)&lt;BR /&gt;3. Use CLI/Python SDK through your notebook, ex.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;import requests

job_json = """
# Put JSON with job contents here
"""

api_token = nb_context['extraContext']['api_token']
ws_host = f"https://{nb_context['tags']['browserHostName']}"
job_api_url = f"{ws_host}/api/2.1/jobs/create"

auth_headers = {"Authorization" : f"Bearer {api_token}"}

create_job = requests.post(job_api_url, headers=auth_headers, data=job_json)

print("Status Code", create_job.status_code)
print("JSON Response ", create_job.json())&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 31 Oct 2023 05:45:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50154#M28722</guid>
      <dc:creator>daniel_sahal</dc:creator>
      <dc:date>2023-10-31T05:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to version your workflows/jobs</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50173#M28723</link>
      <description>&lt;P&gt;Thank you very much for all your answers&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 07:44:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-version-your-workflows-jobs/m-p/50173#M28723</guid>
      <dc:creator>ashdam</dc:creator>
      <dc:date>2023-10-31T07:44:51Z</dc:date>
    </item>
  </channel>
</rss>

