<?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 a way to register a scala function that is available to other notebooks? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-register-a-scala-function-that-is-available-to/m-p/5316#M1767</link>
    <description>&lt;P&gt;afaik you can create python udf's, but somehow I do not find the docs anymore.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/workflows/delta-live-tables/delta-live-tables-cookbook.html" target="test_blank"&gt;https://docs.databricks.com/workflows/delta-live-tables/delta-live-tables-cookbook.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/workflows/delta-live-tables/delta-live-tables-cookbook.html#import-python-modules-or-packages-from-a-databricks-repo" target="test_blank"&gt;https://docs.databricks.com/workflows/delta-live-tables/delta-live-tables-cookbook.html#import-python-modules-or-packages-from-a-databricks-repo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But they seem to be removed.  If someone knows where to find these...&lt;/P&gt;</description>
    <pubDate>Wed, 26 Apr 2023 08:45:26 GMT</pubDate>
    <dc:creator>-werners-</dc:creator>
    <dc:date>2023-04-26T08:45:26Z</dc:date>
    <item>
      <title>Is there a way to register a scala function that is available to other notebooks?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-register-a-scala-function-that-is-available-to/m-p/5313#M1764</link>
      <description>&lt;P&gt;I am in a situation where I have a notebook that runs in a pipeline that creates a "live streaming table". So, I cannot use a language other than sql in the pipeline. I would like to format a certain column in the pipeline using a scala code (it's a complicated formatting and difficult to replicate in SQL). &lt;/P&gt;&lt;P&gt;Spark allows you to register scala methods as udf and access those registered methods in SQL. &lt;/P&gt;&lt;P&gt;But given my current situation (pipeline with DLT),  I cannot include the scala method and the statement to register the method in spark context in the notebook.&lt;/P&gt;&lt;P&gt;Is there any work around here?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 06:56:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-register-a-scala-function-that-is-available-to/m-p/5313#M1764</guid>
      <dc:creator>qwerty1</dc:creator>
      <dc:date>2023-04-25T06:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to register a scala function that is available to other notebooks?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-register-a-scala-function-that-is-available-to/m-p/5314#M1765</link>
      <description>&lt;P&gt;no, DLT does not work with Scala unfortunately.&lt;/P&gt;&lt;P&gt;Delta Live Tables are not vanilla spark.&lt;/P&gt;&lt;P&gt;Is python an option instead of scala?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 14:36:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-register-a-scala-function-that-is-available-to/m-p/5314#M1765</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-04-25T14:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to register a scala function that is available to other notebooks?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-register-a-scala-function-that-is-available-to/m-p/5315#M1766</link>
      <description>&lt;P&gt;yes, python is an option if I can use the library &lt;A href="https://pypi.org/project/phonenumbers/" target="test_blank"&gt;https://pypi.org/project/phonenumbers/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 06:57:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-register-a-scala-function-that-is-available-to/m-p/5315#M1766</guid>
      <dc:creator>qwerty1</dc:creator>
      <dc:date>2023-04-26T06:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to register a scala function that is available to other notebooks?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-register-a-scala-function-that-is-available-to/m-p/5316#M1767</link>
      <description>&lt;P&gt;afaik you can create python udf's, but somehow I do not find the docs anymore.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/workflows/delta-live-tables/delta-live-tables-cookbook.html" target="test_blank"&gt;https://docs.databricks.com/workflows/delta-live-tables/delta-live-tables-cookbook.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/workflows/delta-live-tables/delta-live-tables-cookbook.html#import-python-modules-or-packages-from-a-databricks-repo" target="test_blank"&gt;https://docs.databricks.com/workflows/delta-live-tables/delta-live-tables-cookbook.html#import-python-modules-or-packages-from-a-databricks-repo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But they seem to be removed.  If someone knows where to find these...&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 08:45:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-register-a-scala-function-that-is-available-to/m-p/5316#M1767</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-04-26T08:45:26Z</dc:date>
    </item>
  </channel>
</rss>

