<?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 Photon and UDF efficiency in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/photon-and-udf-efficiency/m-p/38570#M5533</link>
    <description>&lt;P&gt;When using a JVM engine, Scala UDFs have an advantage over Python UDFs because data doesn't have to be shifted out to the Python environment for processing. If I understand the implications of using the Photon C++ engine, any processing that needs to take place in the JVM (Scala UDFs) or in the Python environment (Python and Pandas UDFs) both need to have data serialized and/or shifted for processing.&lt;/P&gt;&lt;P&gt;Is my understanding correct? Do Scala UDFs lose their performance advantage when using the Photon C++ engine?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jul 2023 12:05:30 GMT</pubDate>
    <dc:creator>Dekova</dc:creator>
    <dc:date>2023-07-27T12:05:30Z</dc:date>
    <item>
      <title>Photon and UDF efficiency</title>
      <link>https://community.databricks.com/t5/get-started-discussions/photon-and-udf-efficiency/m-p/38570#M5533</link>
      <description>&lt;P&gt;When using a JVM engine, Scala UDFs have an advantage over Python UDFs because data doesn't have to be shifted out to the Python environment for processing. If I understand the implications of using the Photon C++ engine, any processing that needs to take place in the JVM (Scala UDFs) or in the Python environment (Python and Pandas UDFs) both need to have data serialized and/or shifted for processing.&lt;/P&gt;&lt;P&gt;Is my understanding correct? Do Scala UDFs lose their performance advantage when using the Photon C++ engine?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 12:05:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/photon-and-udf-efficiency/m-p/38570#M5533</guid>
      <dc:creator>Dekova</dc:creator>
      <dc:date>2023-07-27T12:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Photon and UDF efficiency</title>
      <link>https://community.databricks.com/t5/get-started-discussions/photon-and-udf-efficiency/m-p/38580#M5534</link>
      <description>&lt;P&gt;Photon does not support UDFs:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/runtime/photon#limitations" target="_self"&gt;https://learn.microsoft.com/en-us/azure/databricks/runtime/photon#limitations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So when creating a UDF, photon will not be used.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 14:01:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/photon-and-udf-efficiency/m-p/38580#M5534</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-07-27T14:01:15Z</dc:date>
    </item>
  </channel>
</rss>

