<?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 Databricks-Connect and Change Data Feed query error in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-connect-and-change-data-feed-query-error/m-p/32356#M23570</link>
    <description>&lt;P&gt;I have installed Databricks-Connect (9.1 LTS).  I am able to send queries to the cluster.  However, when the query includes a call to the 'table_changes' function that is a part of Change Data Feed, I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AnalysisException("could not resolve `table_changes` to a table-valued function; line 1&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The query runs when I run it in a notebook against the same cluster.  The query looks similar to the following:&lt;/P&gt;&lt;P&gt;select distinct SomeFieldID from table_changes('SomeTable','2021-12-31 9:53:02') where _change_type in ('update_postimage')&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jan 2022 18:49:20 GMT</pubDate>
    <dc:creator>Ian</dc:creator>
    <dc:date>2022-01-03T18:49:20Z</dc:date>
    <item>
      <title>Databricks-Connect and Change Data Feed query error</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-and-change-data-feed-query-error/m-p/32356#M23570</link>
      <description>&lt;P&gt;I have installed Databricks-Connect (9.1 LTS).  I am able to send queries to the cluster.  However, when the query includes a call to the 'table_changes' function that is a part of Change Data Feed, I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AnalysisException("could not resolve `table_changes` to a table-valued function; line 1&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The query runs when I run it in a notebook against the same cluster.  The query looks similar to the following:&lt;/P&gt;&lt;P&gt;select distinct SomeFieldID from table_changes('SomeTable','2021-12-31 9:53:02') where _change_type in ('update_postimage')&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 18:49:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-and-change-data-feed-query-error/m-p/32356#M23570</guid>
      <dc:creator>Ian</dc:creator>
      <dc:date>2022-01-03T18:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks-Connect and Change Data Feed query error</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-and-change-data-feed-query-error/m-p/32357#M23571</link>
      <description>&lt;P&gt;Hello @Ian Corera​&amp;nbsp;- My name is Piper, and I'm one of the moderators for Databricks. Let's see what your fellow members have to say before we circle back around to this. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 23:17:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-and-change-data-feed-query-error/m-p/32357#M23571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-03T23:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks-Connect and Change Data Feed query error</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-and-change-data-feed-query-error/m-p/32359#M23573</link>
      <description>&lt;P&gt;Hi @Kaniz Fatma​&amp;nbsp;, the table_changes function is an internal Databricks function used in Change Data Feed (CDF).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the article below.  It discusses the table_changes function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/delta/delta-change-data-feed.html" target="test_blank"&gt;https://docs.databricks.com/delta/delta-change-data-feed.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 19:00:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-and-change-data-feed-query-error/m-p/32359#M23573</guid>
      <dc:creator>Ian</dc:creator>
      <dc:date>2022-01-21T19:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks-Connect and Change Data Feed query error</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-and-change-data-feed-query-error/m-p/32361#M23575</link>
      <description>&lt;P&gt;Hi @Kaniz Fatma​&amp;nbsp; thank you for your reply.  I do have the tables setup for Change Data Feed.  I am able to run the query with 'table_changes' in a notebook.  However, the same query does not run in Databricks-Connect (9.1 LTS).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Databricks-Connect I get the error below:&lt;/P&gt;&lt;P&gt;AnalysisException("could not resolve `table_changes` to a table-valued function; line 1&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, the query runs fine in a notebook in a Databricks workspace.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 13:44:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-and-change-data-feed-query-error/m-p/32361#M23575</guid>
      <dc:creator>Ian</dc:creator>
      <dc:date>2022-01-24T13:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks-Connect and Change Data Feed query error</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-and-change-data-feed-query-error/m-p/32362#M23576</link>
      <description>&lt;P&gt;Hi @Ian Corera​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the limitations from DBconnect. &lt;A href="https://docs.databricks.com/dev-tools/databricks-connect.html#limitations" target="test_blank"&gt;https://docs.databricks.com/dev-tools/databricks-connect.html#limitations&lt;/A&gt; It seems like the feature work fine on the notebook but not on DBconnect.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 00:58:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-and-change-data-feed-query-error/m-p/32362#M23576</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2022-02-09T00:58:07Z</dc:date>
    </item>
  </channel>
</rss>

