<?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: Best Approach for Handling ETL Processes in Databricks in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/best-approach-for-handling-etl-processes-in-databricks/m-p/82908#M8031</link>
    <description>&lt;P&gt;Thank you Brahmareddy!&lt;/P&gt;&lt;P&gt;Not too sure why I never thought of that &lt;span class="lia-unicode-emoji" title=":face_with_rolling_eyes:"&gt;🙄&lt;/span&gt;!&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2024 23:26:35 GMT</pubDate>
    <dc:creator>itsmejoeyong</dc:creator>
    <dc:date>2024-08-13T23:26:35Z</dc:date>
    <item>
      <title>Best Approach for Handling ETL Processes in Databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/best-approach-for-handling-etl-processes-in-databricks/m-p/82679#M8029</link>
      <description>&lt;P&gt;I am currently managing nearly 300 tables from a production database and considering moving the entire ETL process away from Azure Data Factory to Databricks.&lt;/P&gt;&lt;P&gt;This process, which involves extraction, transformation, testing, and loading, is executed daily.&lt;/P&gt;&lt;P&gt;Given this context, I am unsure whether it's more efficient to:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create 300 individual notebooks or Python scripts—one for each table—providing great isolation and easier debugging if something breaks.&lt;/LI&gt;&lt;LI&gt;Implement a single script with a loop that processes all tables, potentially simplifying management but increasing complexity in debugging.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Which approach would you recommend in this situation?&lt;/LI&gt;&lt;LI&gt;Are there any better alternatives that I might be overlooking?&lt;/LI&gt;&lt;LI&gt;Is there a real benefit over .py scripts vs notebooks? I'm considering sticking to notebooks as I find it easier to debug (can run things cell by cell) for any newbies we might be onboarding in the future.&lt;/LI&gt;&lt;LI&gt;Is it optimal to create very long loops in Spark/Databricks?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Additional context:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Data is around 50GB.&lt;/LI&gt;&lt;LI&gt;We're using a Standard spark instance on Azure.&lt;/LI&gt;&lt;LI&gt;We're writing onto ADLS Gen2&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank you for your insights!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 03:20:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/best-approach-for-handling-etl-processes-in-databricks/m-p/82679#M8029</guid>
      <dc:creator>itsmejoeyong</dc:creator>
      <dc:date>2024-08-12T03:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Best Approach for Handling ETL Processes in Databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/best-approach-for-handling-etl-processes-in-databricks/m-p/82683#M8030</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Instead of 300 individual files or one massive script, try grouping similar tables together. For example, you could have 10 scripts, each handling 30 tables. This way, you get the best of both approches—This way you will have a freedom of easy debugging without having too many files to manage.&lt;/P&gt;&lt;P&gt;Start with Notebooks and once everything’s running smoothly, consider converting your notebooks into .py scripts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more tip -&amp;nbsp;look into using Delta Lake in Databricks. It makes managing your data easier and more reliable.&lt;/P&gt;&lt;P&gt;Give a try.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 04:38:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/best-approach-for-handling-etl-processes-in-databricks/m-p/82683#M8030</guid>
      <dc:creator>Brahmareddy</dc:creator>
      <dc:date>2024-08-12T04:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Best Approach for Handling ETL Processes in Databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/best-approach-for-handling-etl-processes-in-databricks/m-p/82908#M8031</link>
      <description>&lt;P&gt;Thank you Brahmareddy!&lt;/P&gt;&lt;P&gt;Not too sure why I never thought of that &lt;span class="lia-unicode-emoji" title=":face_with_rolling_eyes:"&gt;🙄&lt;/span&gt;!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 23:26:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/best-approach-for-handling-etl-processes-in-databricks/m-p/82908#M8031</guid>
      <dc:creator>itsmejoeyong</dc:creator>
      <dc:date>2024-08-13T23:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Best Approach for Handling ETL Processes in Databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/best-approach-for-handling-etl-processes-in-databricks/m-p/82909#M8032</link>
      <description>&lt;P&gt;You are welcome, Joeyong!. Good day.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 00:15:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/best-approach-for-handling-etl-processes-in-databricks/m-p/82909#M8032</guid>
      <dc:creator>Brahmareddy</dc:creator>
      <dc:date>2024-08-14T00:15:26Z</dc:date>
    </item>
  </channel>
</rss>

