<?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 Generate and Deploy Wheel file to the Databricks Cluster from VS Code in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/generate-and-deploy-wheel-file-to-the-databricks-cluster-from-vs/m-p/100390#M40278</link>
    <description>&lt;P&gt;I have a scenario where I need to generate a versioned Wheel file and upload it automatically to a Databricks cluster using VS Code, without creating workflows or jobs like those in Databricks Bundles.&lt;BR /&gt;My use case is to later use the Wheel file as an importable package in another notebook.&lt;/P&gt;&lt;P&gt;How can I achieve this using the databricks.yml file?&lt;/P&gt;&lt;P&gt;I can use the Databricks bundle, but it requires some tasks to be created in order to generate the wheel file, and I don't need those tasks to be created.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Nov 2024 05:54:36 GMT</pubDate>
    <dc:creator>sunilp</dc:creator>
    <dc:date>2024-11-29T05:54:36Z</dc:date>
    <item>
      <title>Generate and Deploy Wheel file to the Databricks Cluster from VS Code</title>
      <link>https://community.databricks.com/t5/data-engineering/generate-and-deploy-wheel-file-to-the-databricks-cluster-from-vs/m-p/100390#M40278</link>
      <description>&lt;P&gt;I have a scenario where I need to generate a versioned Wheel file and upload it automatically to a Databricks cluster using VS Code, without creating workflows or jobs like those in Databricks Bundles.&lt;BR /&gt;My use case is to later use the Wheel file as an importable package in another notebook.&lt;/P&gt;&lt;P&gt;How can I achieve this using the databricks.yml file?&lt;/P&gt;&lt;P&gt;I can use the Databricks bundle, but it requires some tasks to be created in order to generate the wheel file, and I don't need those tasks to be created.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 05:54:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/generate-and-deploy-wheel-file-to-the-databricks-cluster-from-vs/m-p/100390#M40278</guid>
      <dc:creator>sunilp</dc:creator>
      <dc:date>2024-11-29T05:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Generate and Deploy Wheel file to the Databricks Cluster from VS Code</title>
      <link>https://community.databricks.com/t5/data-engineering/generate-and-deploy-wheel-file-to-the-databricks-cluster-from-vs/m-p/101268#M40608</link>
      <description>&lt;P&gt;Thanks for your question! To automate generating and deploying a versioned Wheel file to a Databricks cluster directly from &lt;STRONG&gt;VS Code&lt;/STRONG&gt;, you can try and follow these steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Use VS Code Tasks[1]&lt;/STRONG&gt;: Configure a &lt;CODE&gt;tasks.json&lt;/CODE&gt; file in your project’s &lt;CODE&gt;.vscode&lt;/CODE&gt; directory to define automated steps:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Build the Wheel file using &lt;CODE&gt;python setup.py bdist_wheel&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Use the Databricks CLI to upload the Wheel file to a workspace directory.&lt;/LI&gt;
&lt;LI&gt;Install the Wheel on the Databricks cluster.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Example Task Configuration&lt;/STRONG&gt;: Define a VS Code task for automation. The first task builds the Wheel, and the second uploads and installs it using the Databricks CLI.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;[1]&amp;nbsp;&lt;A href="https://code.visualstudio.com/Docs/editor/tasks" target="_blank"&gt;https://code.visualstudio.com/Docs/editor/tasks&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This setup allows you to trigger the process directly from VS Code’s task runner, ensuring automation and alignment with your workflow. Let me know if you need more specifics!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 16:45:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/generate-and-deploy-wheel-file-to-the-databricks-cluster-from-vs/m-p/101268#M40608</guid>
      <dc:creator>VZLA</dc:creator>
      <dc:date>2024-12-06T16:45:12Z</dc:date>
    </item>
  </channel>
</rss>

