<?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: Is there any difference between performance of Python and SQL ? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16459#M10639</link>
    <description>&lt;P&gt;Can you provide any source ?&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2022 04:49:04 GMT</pubDate>
    <dc:creator>abd</dc:creator>
    <dc:date>2022-06-29T04:49:04Z</dc:date>
    <item>
      <title>Is there any difference between performance of Python and SQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16448#M10628</link>
      <description>&lt;P&gt;I read somewhere that Python code is converted to SQL at the end. So is it true or there is any difference in performance while working with Scala, Python or SQL ?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 16:11:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16448#M10628</guid>
      <dc:creator>abd</dc:creator>
      <dc:date>2022-06-28T16:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between performance of Python and SQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16449#M10629</link>
      <description>&lt;P&gt;In short, no there's no difference. However, there does need to be a translation, like you read somewhere, so it could add a negligible amount of time to the workload. However, the performance doesn't degrade significantly enough to matter.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 18:16:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16449#M10629</guid>
      <dc:creator>CodeMartian</dc:creator>
      <dc:date>2022-06-28T18:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between performance of Python and SQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16450#M10630</link>
      <description>&lt;P&gt;If you're using the DataFrame API it all gets run in the JVM, just like sql queries. The exception is UDFs which have to transfer data to Python land to execute.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 19:45:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16450#M10630</guid>
      <dc:creator>adamq</dc:creator>
      <dc:date>2022-06-28T19:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between performance of Python and SQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16451#M10631</link>
      <description>&lt;P&gt;Python API have an extra layer in runtime, which leverage local socket to transfer data. So it might have some performance gap due to the transformation, but should not large for most of scenarios.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 19:47:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16451#M10631</guid>
      <dc:creator>Yuanjian</dc:creator>
      <dc:date>2022-06-28T19:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between performance of Python and SQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16452#M10632</link>
      <description>&lt;P&gt;Quite a bit performance depending upon where you are running&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 19:52:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16452#M10632</guid>
      <dc:creator>Adamatg</dc:creator>
      <dc:date>2022-06-28T19:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between performance of Python and SQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16454#M10634</link>
      <description>&lt;P&gt;There should not be difference between One or other, at the end, every code should be translated to machine language in orden to run on a computer, it’s possible that the translation process be harder in some cases that others, however, that translation process could be harder for python (some cases) and for SQL (some other cases).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My recomendation is that you use every language for every use case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL as a first option and when you have to process bunch of data on a structured format.&lt;/P&gt;&lt;P&gt;Python when you have certain complexity not supported by SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 21:13:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16454#M10634</guid>
      <dc:creator>JBOCACHICA</dc:creator>
      <dc:date>2022-06-28T21:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between performance of Python and SQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16455#M10635</link>
      <description>&lt;P&gt;Python is the choice for the ML/AI workloads while SQL would be for data based MDM modeling. Pretty much similar performance with certain assumptions. DB optimization is a must assumption for performance benchmarking. &lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 21:29:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16455#M10635</guid>
      <dc:creator>ABHI_CT</dc:creator>
      <dc:date>2022-06-28T21:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between performance of Python and SQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16456#M10636</link>
      <description>&lt;P&gt;Relatively similar performance for simple use cases. Higher end tasks and pythons the better bet&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 21:35:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16456#M10636</guid>
      <dc:creator>Bhew</dc:creator>
      <dc:date>2022-06-28T21:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between performance of Python and SQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16457#M10637</link>
      <description>&lt;P&gt;I think it all gets converted to scala in the end. Shouldn’t be different.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 21:37:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16457#M10637</guid>
      <dc:creator>Katieyangcanada</dc:creator>
      <dc:date>2022-06-28T21:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between performance of Python and SQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16458#M10638</link>
      <description>&lt;P&gt;Hi just did it. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 04:47:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16458#M10638</guid>
      <dc:creator>abd</dc:creator>
      <dc:date>2022-06-29T04:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between performance of Python and SQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16459#M10639</link>
      <description>&lt;P&gt;Can you provide any source ?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 04:49:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16459#M10639</guid>
      <dc:creator>abd</dc:creator>
      <dc:date>2022-06-29T04:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between performance of Python and SQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16460#M10640</link>
      <description>&lt;P&gt;Can you provide any resource where I would be able to look into it ?&lt;/P&gt;&lt;P&gt;Just wondering is python code converted to SQL at the end ?&lt;/P&gt;&lt;P&gt;Or as the other person mentioned it is converted to scala. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 04:50:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16460#M10640</guid>
      <dc:creator>abd</dc:creator>
      <dc:date>2022-06-29T04:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any difference between performance of Python and SQL ?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16461#M10641</link>
      <description>&lt;P&gt;To add on the consideration of UDFs, try to consider using HOFs (Higher Order Functions) whenever possible first as there is a signifcant performance benefit as seen &lt;A href="https://medium.com/@danniesim/faster-and-more-concise-than-udf-spark-functions-and-higher-order-functions-with-pyspark-31d31de5fed8" alt="https://medium.com/@danniesim/faster-and-more-concise-than-udf-spark-functions-and-higher-order-functions-with-pyspark-31d31de5fed8" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 05:17:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-any-difference-between-performance-of-python-and-sql/m-p/16461#M10641</guid>
      <dc:creator>Rheiman</dc:creator>
      <dc:date>2022-06-30T05:17:20Z</dc:date>
    </item>
  </channel>
</rss>

