<?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: Turn on UDFs in Databricks SQL feature in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/turn-on-udfs-in-databricks-sql-feature/m-p/3686#M11</link>
    <description>&lt;P&gt;It will be available soon in public preview. You will need to have a Pro SQL Warehouse or a Serverless SQL Warehouse to use Python UDF in Databricks SQL.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jun 2023 09:14:03 GMT</pubDate>
    <dc:creator>youssefmrini</dc:creator>
    <dc:date>2023-06-05T09:14:03Z</dc:date>
    <item>
      <title>Turn on UDFs in Databricks SQL feature</title>
      <link>https://community.databricks.com/t5/data-governance/turn-on-udfs-in-databricks-sql-feature/m-p/3684#M9</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Im using Unity Catalog managed tables and Unity Catalog DLTs. I urgently need to use a UDF in DBSQL because pySpark UDFs dont work in UC. I found this way to create a SQL function and use python language inside:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CREATE FUNCTION redact(a STRING)
RETURNS STRING
LANGUAGE PYTHON
AS $$ 
  return "Hello World"
$$;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I got the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;I&gt;Error in SQL statement: AnalysisException: [FEATURE_UNAVAILABLE] Python UDF is not supported in your environment. To use this feature, please contact Databricks Support.&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I turn on this feature?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 18:03:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/turn-on-udfs-in-databricks-sql-feature/m-p/3684#M9</guid>
      <dc:creator>DAUR</dc:creator>
      <dc:date>2023-06-02T18:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Turn on UDFs in Databricks SQL feature</title>
      <link>https://community.databricks.com/t5/data-governance/turn-on-udfs-in-databricks-sql-feature/m-p/3685#M10</link>
      <description>&lt;P&gt;If this functionality is available in a private preview, first thing to do is to get in touch with your Databricks representative to ask for your workspace to be included in it&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 19:54:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/turn-on-udfs-in-databricks-sql-feature/m-p/3685#M10</guid>
      <dc:creator>fkseki</dc:creator>
      <dc:date>2023-06-02T19:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Turn on UDFs in Databricks SQL feature</title>
      <link>https://community.databricks.com/t5/data-governance/turn-on-udfs-in-databricks-sql-feature/m-p/3686#M11</link>
      <description>&lt;P&gt;It will be available soon in public preview. You will need to have a Pro SQL Warehouse or a Serverless SQL Warehouse to use Python UDF in Databricks SQL.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 09:14:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/turn-on-udfs-in-databricks-sql-feature/m-p/3686#M11</guid>
      <dc:creator>youssefmrini</dc:creator>
      <dc:date>2023-06-05T09:14:03Z</dc:date>
    </item>
  </channel>
</rss>

