<?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 Execute Pyspark cells concurrently in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/execute-pyspark-cells-concurrently/m-p/67602#M33381</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Is it feasible to run pyspark cells concurrently in databricks notebooks? If so, kindly provide instructions on how to accomplish this. We aim to execute the intermediate steps simultaneously.&lt;/P&gt;&lt;P&gt;The given scenario entails the simultaneous execution of several PySpark cells based on a condition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Janga&lt;/P&gt;</description>
    <pubDate>Mon, 29 Apr 2024 16:36:50 GMT</pubDate>
    <dc:creator>Phani1</dc:creator>
    <dc:date>2024-04-29T16:36:50Z</dc:date>
    <item>
      <title>Execute Pyspark cells concurrently</title>
      <link>https://community.databricks.com/t5/data-engineering/execute-pyspark-cells-concurrently/m-p/67602#M33381</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Is it feasible to run pyspark cells concurrently in databricks notebooks? If so, kindly provide instructions on how to accomplish this. We aim to execute the intermediate steps simultaneously.&lt;/P&gt;&lt;P&gt;The given scenario entails the simultaneous execution of several PySpark cells based on a condition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Janga&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 16:36:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/execute-pyspark-cells-concurrently/m-p/67602#M33381</guid>
      <dc:creator>Phani1</dc:creator>
      <dc:date>2024-04-29T16:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Pyspark cells concurrently</title>
      <link>https://community.databricks.com/t5/data-engineering/execute-pyspark-cells-concurrently/m-p/106743#M42571</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/36892"&gt;@Phani1&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, there isn't a way to run cells in a notebook simultaneously. But with your use case needing the parallel execution of code, you can configure a Databricks Workflow with multiple tasks running concurrently:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/jobs/#what-is-a-task" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/jobs/#what-is-a-task&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 03:58:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/execute-pyspark-cells-concurrently/m-p/106743#M42571</guid>
      <dc:creator>Miguel_Suarez</dc:creator>
      <dc:date>2025-01-23T03:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Pyspark cells concurrently</title>
      <link>https://community.databricks.com/t5/data-engineering/execute-pyspark-cells-concurrently/m-p/108266#M43012</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Databricks also supports executing SQL cells in parallel. While a command is running and your notebook is attached to an interactive cluster, you can run a SQL cell simultaneously with the current command. The SQL cell is executed in a new, parallel session. However, this feature is limited to SQL cells and does not apply to PySpark cells.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="_1sijkvt3"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="_1sijkvt3"&gt;You can use the &lt;CODE&gt;dbutils.notebook.run&lt;/CODE&gt; command to run other notebooks from within a notebook. This command can be used to trigger multiple notebooks to run concurrently. However, this approach is limited by the number of concurrent notebook runs allowed by your Databricks workspace.&lt;/DIV&gt;
&lt;DIV class="_1sijkvt3"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="_1sijkvt3"&gt;Databricks Workflows also enable you to define and run a sequence of tasks, including notebooks, Python scripts, and SQL queries. You can configure these tasks to run in parallel by setting up dependencies appropriately.&lt;/DIV&gt;
&lt;DIV class="_1sijkvt3"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="_1sijkvt3"&gt;&lt;A href="https://docs.databricks.com/en/notebooks/notebooks-code.html" target="_blank"&gt;https://docs.databricks.com/en/notebooks/notebooks-code.html&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 01 Feb 2025 07:08:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/execute-pyspark-cells-concurrently/m-p/108266#M43012</guid>
      <dc:creator>NandiniN</dc:creator>
      <dc:date>2025-02-01T07:08:07Z</dc:date>
    </item>
  </channel>
</rss>

