<?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: External table not available in SQL Analytics Endpoint or Power BI in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/External-table-not-available-in-SQL-Analytics-Endpoint-or-Power/m-p/4004921#M2651</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/437984"&gt;@frithjof_v&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the reason why the table does not appear is the format of the source file. The lingua franca for everything Microsoft Fabric is the Delta Table format. If you want to shortcut to the txt file, then you need a step that reads the txt file into a dataframe and writes the dataframe as a Delta Table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hopefully, this helps to tackle your challenge.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
    <pubDate>Sat, 22 Jun 2024 08:19:09 GMT</pubDate>
    <dc:creator>TomMartens</dc:creator>
    <dc:date>2024-06-22T08:19:09Z</dc:date>
    <item>
      <title>External table not available in SQL Analytics Endpoint or Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/External-table-not-available-in-SQL-Analytics-Endpoint-or-Power/m-p/4004290#M2649</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used a Notebook to create an external table (unmanaged table) in my Lakehouse based on a txt file in my Lakehouses' File folder:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%%sql&lt;/P&gt;&lt;P&gt;CREATE TABLE testtxtexternal&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; name STRING,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; price INT,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; category STRING&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;USING CSV&lt;/P&gt;&lt;P&gt;OPTIONS (&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; path 'Files/txttest.txt',&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; delimiter ';',&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; header 'true',&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; inferSchema 'true'&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can then successfully query the table from a Notebook, e.g. by using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%%sql&lt;/P&gt;&lt;P&gt;SELECT * FROM testtxtexternal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However the table is not available in the SQL Analytics Endpoint and also not available in Power BI Desktop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this the expected behavior?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am just curious.&lt;/P&gt;&lt;P&gt;The ambition is to be able to write SQL queries against a txt file, preferably from SQL Analytics Endpoint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I tested, the txt file was uploaded to the files section of the Lakehouse.&lt;/P&gt;&lt;P&gt;However in the real case we want to have the txt file in ADLS Gen2 and shortcut the file into the Lakehouse for SQL querying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 14:39:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/External-table-not-available-in-SQL-Analytics-Endpoint-or-Power/m-p/4004290#M2649</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-06-21T14:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: External table not available in SQL Analytics Endpoint or Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/External-table-not-available-in-SQL-Analytics-Endpoint-or-Power/m-p/4004921#M2651</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/437984"&gt;@frithjof_v&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the reason why the table does not appear is the format of the source file. The lingua franca for everything Microsoft Fabric is the Delta Table format. If you want to shortcut to the txt file, then you need a step that reads the txt file into a dataframe and writes the dataframe as a Delta Table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hopefully, this helps to tackle your challenge.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2024 08:19:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/External-table-not-available-in-SQL-Analytics-Endpoint-or-Power/m-p/4004921#M2651</guid>
      <dc:creator>TomMartens</dc:creator>
      <dc:date>2024-06-22T08:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: External table not available in SQL Analytics Endpoint or Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/External-table-not-available-in-SQL-Analytics-Endpoint-or-Power/m-p/4004940#M2652</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/31"&gt;@TomMartens&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess that means we will need to trigger (or schedule) some ETL tool (e.g. Data pipeline, Dataflow Gen2, Notebook, etc.) if we want to bring in updated data from the .txt file into SQL Analytics Endpoint (as it requires the data to be in Delta table format).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps we can use &lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/pipeline-storage-event-triggers" target="_blank" rel="noopener"&gt;Storage Event Trigger&lt;/A&gt;&amp;nbsp;&lt;SPAN&gt;to trigger the ETL each time the .txt file gets updated in ADLS Gen2, and update the Delta table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards, Frithjof&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2024 09:21:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/External-table-not-available-in-SQL-Analytics-Endpoint-or-Power/m-p/4004940#M2652</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-06-22T09:21:39Z</dc:date>
    </item>
  </channel>
</rss>

