<?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 Add Raw Tabless to Unity Catalog? in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/add-raw-tabless-to-unity-catalog/m-p/71528#M3064</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;Hope someone here can help me out as I am a bit stuck &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am currently loading some data from number of sources to parquet using ADF. This ends up in a ADLS2 storage account as .parquet. This is the staging / landing zone area.&lt;/P&gt;&lt;P&gt;From there I am using a databricks notebook to move it from staging to bronze while converting to delta.&lt;/P&gt;&lt;P&gt;What I am trying to do is add those tables using the autoloader so that I can "get it into the catalog" and refer to it in dbt when working from bronze, to silver to gold. I can browse fine, but the moment I try to preview there is an issue.&lt;/P&gt;&lt;P&gt;The error I get is:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Your request failed with status FAILED: [BAD_REQUEST] Reading from a Delta table is not supported with this syntax. If you would like to consume data from Delta, please refer to the docs: read a Delta table (&lt;A href="https://docs.microsoft.com/azure/databricks/delta/tutorial#read" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/azure/databricks/delta/tutorial#read&lt;/A&gt;), or read a Delta table as a stream source (&lt;A href="https://docs.microsoft.com/azure/databricks/structured-streaming/delta-lake#table-streaming-reads-and-writes" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/azure/databricks/structured-streaming/delta-lake#table-streaming-reads-and-writes&lt;/A&gt;). The streaming source from Delta is already optimized for incremental consumption of data.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;BR /&gt;And after that I can't get any further because I can't preview the table to add it.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Any input or thoughts would be great and thanks for any responses!&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 03 Jun 2024 21:48:34 GMT</pubDate>
    <dc:creator>Ali_Ahmad</dc:creator>
    <dc:date>2024-06-03T21:48:34Z</dc:date>
    <item>
      <title>Add Raw Tabless to Unity Catalog?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/add-raw-tabless-to-unity-catalog/m-p/71528#M3064</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;Hope someone here can help me out as I am a bit stuck &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am currently loading some data from number of sources to parquet using ADF. This ends up in a ADLS2 storage account as .parquet. This is the staging / landing zone area.&lt;/P&gt;&lt;P&gt;From there I am using a databricks notebook to move it from staging to bronze while converting to delta.&lt;/P&gt;&lt;P&gt;What I am trying to do is add those tables using the autoloader so that I can "get it into the catalog" and refer to it in dbt when working from bronze, to silver to gold. I can browse fine, but the moment I try to preview there is an issue.&lt;/P&gt;&lt;P&gt;The error I get is:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Your request failed with status FAILED: [BAD_REQUEST] Reading from a Delta table is not supported with this syntax. If you would like to consume data from Delta, please refer to the docs: read a Delta table (&lt;A href="https://docs.microsoft.com/azure/databricks/delta/tutorial#read" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/azure/databricks/delta/tutorial#read&lt;/A&gt;), or read a Delta table as a stream source (&lt;A href="https://docs.microsoft.com/azure/databricks/structured-streaming/delta-lake#table-streaming-reads-and-writes" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/azure/databricks/structured-streaming/delta-lake#table-streaming-reads-and-writes&lt;/A&gt;). The streaming source from Delta is already optimized for incremental consumption of data.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;BR /&gt;And after that I can't get any further because I can't preview the table to add it.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Any input or thoughts would be great and thanks for any responses!&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Jun 2024 21:48:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/add-raw-tabless-to-unity-catalog/m-p/71528#M3064</guid>
      <dc:creator>Ali_Ahmad</dc:creator>
      <dc:date>2024-06-03T21:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add Raw Tabless to Unity Catalog?</title>
      <link>https://community.databricks.com/t5/get-started-discussions/add-raw-tabless-to-unity-catalog/m-p/71985#M3087</link>
      <description>&lt;P&gt;Thank you for your response&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I resolved to adding the tables using this type of script:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;%sql&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;-- Create table in Metastore for Bronze Tables&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CREATE&lt;/SPAN&gt; &lt;SPAN&gt;TABLE&lt;/SPAN&gt;&amp;nbsp;xxx&lt;SPAN&gt;_dataplatform_dev_dbx&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;bronze&lt;/SPAN&gt;&lt;SPAN&gt;.x&lt;/SPAN&gt;&lt;SPAN&gt;_x&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;date&lt;/SPAN&gt;&lt;SPAN&gt; STRING,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; orgid LONG,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; org STRING,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; advertiserid LONG,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; advertiser STRING,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; campaignid LONG,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; campaign STRING,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; adgroupid LONG,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; adgroup STRING,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; siteid LONG,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;site&lt;/SPAN&gt;&lt;SPAN&gt; STRING,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; platformid LONG,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; platform STRING,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; imps LONG,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; clicks LONG,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; media_spend DOUBLE,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; tech_spend STRING,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; tech_fee DOUBLE,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; currency STRING,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; sourceSystem STRING,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; loadDate STRING&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;USING&lt;/SPAN&gt;&lt;SPAN&gt; DELTA&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LOCATION&lt;/SPAN&gt; &lt;SPAN&gt;'abfss://bronze@dataplatformdevadls.dfs.core.windows.net/X/XX/'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;And that works well. I will look into what you mention here and see if it gives a better workflow experience, otherwise this was fine!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Appreciate you responding to my question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 06:25:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/add-raw-tabless-to-unity-catalog/m-p/71985#M3087</guid>
      <dc:creator>Ali_Ahmad</dc:creator>
      <dc:date>2024-06-07T06:25:57Z</dc:date>
    </item>
  </channel>
</rss>

