<?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: Variant type table within DLT in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/variant-type-table-within-dlt/m-p/81429#M36300</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/90568"&gt;@udi_azulay&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;That's because DLT currently sits on lower version. Look at release notes:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/en/release-notes/delta-live-tables/2024/22/index.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/release-notes/delta-live-tables/2024/22/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Databricks Runtime versions used by this release&lt;/P&gt;&lt;P&gt;Channel:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CURRENT (default): Databricks Runtime 14.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PREVIEW: Databricks Runtime 14.3&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2024 07:44:26 GMT</pubDate>
    <dc:creator>szymon_dybczak</dc:creator>
    <dc:date>2024-08-01T07:44:26Z</dc:date>
    <item>
      <title>Variant type table within DLT</title>
      <link>https://community.databricks.com/t5/data-engineering/variant-type-table-within-dlt/m-p/81407#M36297</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a table with&amp;nbsp;Variant type (preview) and works well in 15.3, when i try to run a code that reference this Variant type in a DLT pipeline i get :&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;com.databricks.sql.transaction.tahoe.DeltaUnsupportedTableFeatureException: [DELTA_UNSUPPORTED_FEATURES_FOR_READ] Unsupported Delta read feature: table "trace_api_poc.ctv_decoder" requires reader table feature(s) that are unsupported by this version of Databricks: variantType-preview. Please refer to &lt;A href="https://docs.microsoft.com/azure/databricks/delta/feature-compatibility" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/azure/databricks/delta/feature-compatibility&lt;/A&gt; for more information on Delta Lake feature compatibility.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;when i try to change the policy and define Databricks Runtime Version to be 15.3, i get :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;INVALID_PARAMETER_VALUE: [DLT ERROR CODE: INVALID_CLUSTER_SETTING.CLIENT_ERROR] The cluster policy specified in the pipeline settings is not compatible with Delta Live Tables. Remove 'spark_version’ from your cluster policy.&lt;BR /&gt;Please advise!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 04:36:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/variant-type-table-within-dlt/m-p/81407#M36297</guid>
      <dc:creator>udi_azulay</dc:creator>
      <dc:date>2024-08-01T04:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Variant type table within DLT</title>
      <link>https://community.databricks.com/t5/data-engineering/variant-type-table-within-dlt/m-p/81429#M36300</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/90568"&gt;@udi_azulay&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;That's because DLT currently sits on lower version. Look at release notes:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/en/release-notes/delta-live-tables/2024/22/index.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/release-notes/delta-live-tables/2024/22/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Databricks Runtime versions used by this release&lt;/P&gt;&lt;P&gt;Channel:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CURRENT (default): Databricks Runtime 14.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PREVIEW: Databricks Runtime 14.3&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 07:44:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/variant-type-table-within-dlt/m-p/81429#M36300</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-08-01T07:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Variant type table within DLT</title>
      <link>https://community.databricks.com/t5/data-engineering/variant-type-table-within-dlt/m-p/82856#M36747</link>
      <description>&lt;P&gt;Preview channel version currently is at 15.2. So we should be only one minor version increment away from variant being available in DLT (at least i hope so...).&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 11:34:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/variant-type-table-within-dlt/m-p/82856#M36747</guid>
      <dc:creator>thomas-cap</dc:creator>
      <dc:date>2024-08-13T11:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Variant type table within DLT</title>
      <link>https://community.databricks.com/t5/data-engineering/variant-type-table-within-dlt/m-p/106815#M42600</link>
      <description>&lt;P&gt;Now time has progressed, the current DLT runtime version (both CURRENT and PREVIEW) are based on Databricks Runtime version 15.4 as of December 2024. ([&lt;A href="https://docs.databricks.com/en/release-notes/delta-live-tables/2024/49/index.html](https://docs.databricks.com/en/release-notes/delta-live-tables/2024/49/index.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/release-notes/delta-live-tables/2024/49/index.html](https://docs.databricks.com/en/release-notes/delta-live-tables/2024/49/index.html&lt;/A&gt;))&lt;BR /&gt;&lt;BR /&gt;The VARIANT data type should thus be supported as it requires at least runtime version 15.3 ([&lt;A href="https://docs.databricks.com/en/ingestion/variant.html)](https://docs.databricks.com/en/ingestion/variant.html" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/ingestion/variant.html)](https://docs.databricks.com/en/ingestion/variant.html&lt;/A&gt;)). As such, I expect variant columns to be supported when using a DLT pipeline. Even more, since the documentation does have no reference to unsupported data types in relation to DLT pipelines (&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/delta-live-tables/limitations" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/azure/databricks/delta-live-tables/limitations&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;However, when I define a DLT pipeline that ingests a message from Azure EventHub using the kafka connector, I get an error about unsupported features being used on the table. The error message suggests that this relates to an internal table as the name starts with __materialization_mat.... As a result, the table properties cannot be modified as suggested in the error message. Doing a full refresh of the tables associated with the pipeline does not resolve the issue.&lt;BR /&gt;&lt;BR /&gt;As such I believe that VARIANT columns are still not supported in combination with DLT pipelines even though the runtime versions and documentation suggest otherwise.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 14:38:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/variant-type-table-within-dlt/m-p/106815#M42600</guid>
      <dc:creator>MAJVeld</dc:creator>
      <dc:date>2025-01-23T14:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Variant type table within DLT</title>
      <link>https://community.databricks.com/t5/data-engineering/variant-type-table-within-dlt/m-p/111386#M43870</link>
      <description>&lt;P&gt;I will echo this. I can run my materialized view when it's not attached to the pipeline (as long as I have this: "&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TBLPROPERTIES&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;'delta.feature.variantType-preview'&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;'supported'&lt;/SPAN&gt;&lt;SPAN&gt;)"), but as soon as we attach it to a pipeline it fails and says that we have a scala match error.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Feb 2025 15:47:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/variant-type-table-within-dlt/m-p/111386#M43870</guid>
      <dc:creator>HNoa</dc:creator>
      <dc:date>2025-02-27T15:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Variant type table within DLT</title>
      <link>https://community.databricks.com/t5/data-engineering/variant-type-table-within-dlt/m-p/111391#M43872</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/145605"&gt;@MAJVeld&lt;/a&gt;&amp;nbsp;&amp;nbsp;We got it to work.&lt;BR /&gt;Let me know if this works for you. We're not using serverless right now, so I can't speak to that, but I had to set the channel to preview instead of current for it to work (and we're using photon, but that probably doesn't matter).&lt;/P&gt;&lt;P&gt;And again, after the create statement we had to set the tbl properties. Sounds like the table properties are what matter to you. You should be able to set it within the table definition. See screenshot.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 16:27:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/variant-type-table-within-dlt/m-p/111391#M43872</guid>
      <dc:creator>HNoa</dc:creator>
      <dc:date>2025-02-27T16:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Variant type table within DLT</title>
      <link>https://community.databricks.com/t5/data-engineering/variant-type-table-within-dlt/m-p/111580#M43939</link>
      <description>&lt;P&gt;I can indeed confirm that adding some additional table properties to the&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/97035"&gt;@Dlt&lt;/a&gt; attribute in the DLT pipeline definition resolved the earlier issues. Thanks for pointing this out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 12:37:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/variant-type-table-within-dlt/m-p/111580#M43939</guid>
      <dc:creator>MAJVeld</dc:creator>
      <dc:date>2025-03-03T12:37:02Z</dc:date>
    </item>
  </channel>
</rss>

