<?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: [UDF_MAX_COUNT_EXCEEDED] Exceeded query-wide UDF limit of 5 UDFs in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/udf-max-count-exceeded-exceeded-query-wide-udf-limit-of-5-udfs/m-p/38194#M26571</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85118"&gt;@marianopenn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We haven't heard from you since the last response from &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/39403"&gt;@Tharun-Kumar&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;​, and I was checking back to see if her suggestions helped you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or else, If you have any solution, please share it with the community, as it can be helpful to others.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also, Please don't forget to click on the "Select As Best" button whenever the information provided helps resolve your question.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Jul 2023 08:08:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-07-22T08:08:28Z</dc:date>
    <item>
      <title>[UDF_MAX_COUNT_EXCEEDED] Exceeded query-wide UDF limit of 5 UDFs</title>
      <link>https://community.databricks.com/t5/data-engineering/udf-max-count-exceeded-exceeded-query-wide-udf-limit-of-5-udfs/m-p/38120#M26566</link>
      <description>&lt;P&gt;We are using DLT to ingest data into our Unity catalog and then, in a separate job, we are reading and manipulating this data and then writing it to a table like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;df.write.saveAsTable(name=target_table_path)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;We are getting an error which I cannot find ANY documentation about:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SparkRuntimeException: [UDF_MAX_COUNT_EXCEEDED] Exceeded query-wide UDF limit of 5 UDFs (limited during public preview). Found 14. &lt;/LI-CODE&gt;&lt;P&gt;What does this mean and how can we address it?&lt;BR /&gt;Running on an i3.xlarge shared cluster, DBR 13.2, Spark 3.4.0, Scala 2.12.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 13:59:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/udf-max-count-exceeded-exceeded-query-wide-udf-limit-of-5-udfs/m-p/38120#M26566</guid>
      <dc:creator>marianopenn</dc:creator>
      <dc:date>2023-07-21T13:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: [UDF_MAX_COUNT_EXCEEDED] Exceeded query-wide UDF limit of 5 UDFs</title>
      <link>https://community.databricks.com/t5/data-engineering/udf-max-count-exceeded-exceeded-query-wide-udf-limit-of-5-udfs/m-p/38170#M26569</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85118"&gt;@marianopenn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This limit was introduced as a mitigation to reduce the risk of OOM errors. On a shared cluster it's possible to override the limit by setting the&amp;nbsp;&lt;/SPAN&gt;spark.databricks.safespark.externalUDF.plan.limit&lt;SPAN&gt;&amp;nbsp;spark config in the cluster UI. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Note that overriding this config might lead to OOM errors during query execution.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 17:43:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/udf-max-count-exceeded-exceeded-query-wide-udf-limit-of-5-udfs/m-p/38170#M26569</guid>
      <dc:creator>Tharun-Kumar</dc:creator>
      <dc:date>2023-07-21T17:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: [UDF_MAX_COUNT_EXCEEDED] Exceeded query-wide UDF limit of 5 UDFs</title>
      <link>https://community.databricks.com/t5/data-engineering/udf-max-count-exceeded-exceeded-query-wide-udf-limit-of-5-udfs/m-p/38194#M26571</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85118"&gt;@marianopenn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We haven't heard from you since the last response from &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/39403"&gt;@Tharun-Kumar&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;​, and I was checking back to see if her suggestions helped you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or else, If you have any solution, please share it with the community, as it can be helpful to others.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also, Please don't forget to click on the "Select As Best" button whenever the information provided helps resolve your question.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jul 2023 08:08:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/udf-max-count-exceeded-exceeded-query-wide-udf-limit-of-5-udfs/m-p/38194#M26571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-22T08:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: [UDF_MAX_COUNT_EXCEEDED] Exceeded query-wide UDF limit of 5 UDFs</title>
      <link>https://community.databricks.com/t5/data-engineering/udf-max-count-exceeded-exceeded-query-wide-udf-limit-of-5-udfs/m-p/38385#M26615</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/39403"&gt;@Tharun-Kumar&lt;/a&gt;&amp;nbsp;Yes, this spark setting removed the 5 UDF limit. We did encounter a memory issue, but we can work with that. If you could, please include this kind of limitation and the way to get around it somewhere in the Unity Catalog &lt;A href="https://docs.databricks.com/data-governance/unity-catalog/index.html" target="_self"&gt;documentation&lt;/A&gt;. Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 13:43:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/udf-max-count-exceeded-exceeded-query-wide-udf-limit-of-5-udfs/m-p/38385#M26615</guid>
      <dc:creator>marianopenn</dc:creator>
      <dc:date>2023-07-25T13:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: [UDF_MAX_COUNT_EXCEEDED] Exceeded query-wide UDF limit of 5 UDFs</title>
      <link>https://community.databricks.com/t5/data-engineering/udf-max-count-exceeded-exceeded-query-wide-udf-limit-of-5-udfs/m-p/38854#M26790</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85118"&gt;@marianopenn&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/39403"&gt;@Tharun-Kumar&lt;/a&gt; could you please provide further details as to how to set the parameter in the cluster UI? We're currently facing a very similar issue, but I'm not 100% sure where &amp;amp; how to set the &lt;EM&gt;spark.databricks.safespark.externalUDF.plan.limit &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Perhaps could you attach a screenshot?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 16:05:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/udf-max-count-exceeded-exceeded-query-wide-udf-limit-of-5-udfs/m-p/38854#M26790</guid>
      <dc:creator>AlexPrev</dc:creator>
      <dc:date>2023-08-01T16:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: [UDF_MAX_COUNT_EXCEEDED] Exceeded query-wide UDF limit of 5 UDFs</title>
      <link>https://community.databricks.com/t5/data-engineering/udf-max-count-exceeded-exceeded-query-wide-udf-limit-of-5-udfs/m-p/38885#M26803</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85718"&gt;@AlexPrev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can traverse to the Advanced Settings in the Cluster configuration and include this config in the Spark section.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 06:58:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/udf-max-count-exceeded-exceeded-query-wide-udf-limit-of-5-udfs/m-p/38885#M26803</guid>
      <dc:creator>Tharun-Kumar</dc:creator>
      <dc:date>2023-08-02T06:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: [UDF_MAX_COUNT_EXCEEDED] Exceeded query-wide UDF limit of 5 UDFs</title>
      <link>https://community.databricks.com/t5/data-engineering/udf-max-count-exceeded-exceeded-query-wide-udf-limit-of-5-udfs/m-p/39046#M26860</link>
      <description>&lt;P&gt;It's set as a spark config on your cluster. Check out the Databricks docs on this topic &lt;A href="https://docs.databricks.com/en/clusters/configure.html#spark-configuration" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 15:50:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/udf-max-count-exceeded-exceeded-query-wide-udf-limit-of-5-udfs/m-p/39046#M26860</guid>
      <dc:creator>marianopenn</dc:creator>
      <dc:date>2023-08-03T15:50:38Z</dc:date>
    </item>
  </channel>
</rss>

