<?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: Possibilities and Limitations of Delta Live Tables (DLT) with Direct Publish mode in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/possibilities-and-limitations-of-delta-live-tables-dlt-with/m-p/101090#M40536</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88823"&gt;@Walter_C&lt;/a&gt;thank you so much, that worked perfectly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2024 15:14:20 GMT</pubDate>
    <dc:creator>susanne</dc:creator>
    <dc:date>2024-12-05T15:14:20Z</dc:date>
    <item>
      <title>Possibilities and Limitations of Delta Live Tables (DLT) with Direct Publish mode</title>
      <link>https://community.databricks.com/t5/data-engineering/possibilities-and-limitations-of-delta-live-tables-dlt-with/m-p/101066#M40526</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am implementing a DLT table with the new Direct Publish feature which is still in Private Preview.&lt;/P&gt;&lt;P&gt;Is it a limitation of DLT with Direct Publish that you can not query the event_log of the DLT?&lt;BR /&gt;When I use this query:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT *
FROM event_log('pipeline_id');&lt;/LI-CODE&gt;&lt;P&gt;Then I always get this error message regardless of what type of compute I am using:&lt;BR /&gt;[INTERNAL_ERROR] The Spark SQL phase analysis failed with an internal error. You hit a bug in Spark or the Spark plugins you use. Please, report this bug to the corresponding communities or vendors, and provide the full stack trace. SQLSTATE: XX000&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 12:30:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/possibilities-and-limitations-of-delta-live-tables-dlt-with/m-p/101066#M40526</guid>
      <dc:creator>susanne</dc:creator>
      <dc:date>2024-12-05T12:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Possibilities and Limitations of Delta Live Tables (DLT) with Direct Publish mode</title>
      <link>https://community.databricks.com/t5/data-engineering/possibilities-and-limitations-of-delta-live-tables-dlt-with/m-p/101080#M40532</link>
      <description>&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;The error you are encountering when querying the event log in Delta Live Tables (DLT) with Direct Publish mode is a known limitation. Specifically, the event log Table-Valued Function (TVF) does not work in Direct Publishing Mode. This is documented in the private preview guide for DLT Direct Publishing Mode.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;As a workaround, you can directly query the delta table that stores the pipeline’s event log. The event log for a Direct Publishing pipeline is stored in a specific format:&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Default Catalog&lt;/STRONG&gt;: The catalog specified in the pipeline settings.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Default Schema&lt;/STRONG&gt;: The schema specified in the pipeline settings.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;Underscored Pipeline ID&lt;/STRONG&gt;: The pipeline’s UUID with dashes replaced by underscores.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;For example, if your pipeline ID is &lt;CODE&gt;5e9e3c89-2a4b-4dcd-baaf-48f58c2c54ae&lt;/CODE&gt;, and the default catalog and schema are &lt;CODE&gt;catalog&lt;/CODE&gt; and &lt;CODE&gt;test&lt;/CODE&gt; respectively, the event log table would be named &lt;CODE&gt;catalog.test.__5e9e3c89_2a4b_4dcd_baaf_48f58c2c54ae_event_log&lt;/CODE&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 14:08:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/possibilities-and-limitations-of-delta-live-tables-dlt-with/m-p/101080#M40532</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-12-05T14:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Possibilities and Limitations of Delta Live Tables (DLT) with Direct Publish mode</title>
      <link>https://community.databricks.com/t5/data-engineering/possibilities-and-limitations-of-delta-live-tables-dlt-with/m-p/101090#M40536</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88823"&gt;@Walter_C&lt;/a&gt;thank you so much, that worked perfectly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 15:14:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/possibilities-and-limitations-of-delta-live-tables-dlt-with/m-p/101090#M40536</guid>
      <dc:creator>susanne</dc:creator>
      <dc:date>2024-12-05T15:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Possibilities and Limitations of Delta Live Tables (DLT) with Direct Publish mode</title>
      <link>https://community.databricks.com/t5/data-engineering/possibilities-and-limitations-of-delta-live-tables-dlt-with/m-p/108923#M43178</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am having problems working with this approach and&lt;BR /&gt;I am not sure if it is related to the recent changes in DLT Direct Publish (moving it to Public Preview) or if it is related to the changes I have made.&lt;/P&gt;&lt;P&gt;I recently bound my existing DLT to an Asset Bundle deployment and for some reason I cannot find the event_log table anymore when I run the following SQL:&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;SELECT &lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FROM&lt;/SPAN&gt; &lt;SPAN&gt;ca_catalog&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;gold&lt;/SPAN&gt;&lt;SPAN&gt;.__&amp;lt;pipeline_id&amp;gt;_event_log&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My DLT Setting are shown below as the yml configuration:&lt;BR /&gt;resources:&lt;BR /&gt;pipelines:&lt;BR /&gt;pipeline_dev_&amp;lt;user&amp;gt;_ca_etl_pipeline:&lt;BR /&gt;name: "[dev &amp;lt;user&amp;gt;] ca_etl_pipeline"&lt;BR /&gt;libraries:&lt;BR /&gt;- notebook:&lt;BR /&gt;path: /Workspace/Shared/pipeline/src/jobs/dlt_pipeline/generic_dlt_pipeline&lt;BR /&gt;schema: gold&lt;BR /&gt;development: true&lt;BR /&gt;photon: true&lt;BR /&gt;channel: PREVIEW&lt;BR /&gt;catalog: ca_catalog&lt;BR /&gt;serverless: true&lt;BR /&gt;deployment:&lt;BR /&gt;kind: BUNDLE&lt;BR /&gt;metadata_file_path: /Workspace/Users/&amp;lt;user&amp;gt;/.bundle/ca_etl_pipeline_databricks_bundle/dev/state/metadata.json&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Could it have something to do with my asset bundle deployment or is it a known problem in Databricks?&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Feb 2025 09:33:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/possibilities-and-limitations-of-delta-live-tables-dlt-with/m-p/108923#M43178</guid>
      <dc:creator>susanne</dc:creator>
      <dc:date>2025-02-05T09:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Possibilities and Limitations of Delta Live Tables (DLT) with Direct Publish mode</title>
      <link>https://community.databricks.com/t5/data-engineering/possibilities-and-limitations-of-delta-live-tables-dlt-with/m-p/111136#M43805</link>
      <description>&lt;P&gt;If any one is interested how to access the event_log for DLTs that are writing to different schemas:&lt;BR /&gt;The approach that was described above was not working anymore - at least for us.&lt;BR /&gt;But we discovered this post:&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/79432901/access-dlt-event-logs" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/79432901/access-dlt-event-logs&lt;/A&gt;&lt;BR /&gt;And the provided answer did the trick:&lt;BR /&gt;"Add to the Pipeline Settings (JSON not UI):&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;"event_log": {
    "name": "&amp;lt;table_name&amp;gt;",
    "schema": "&amp;lt;schema_name&amp;gt;",
    "catalog": "&amp;lt;catalog_name&amp;gt;",
    "visible": true
},&lt;/PRE&gt;&lt;P&gt;Then query the resulting table."&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Feb 2025 14:45:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/possibilities-and-limitations-of-delta-live-tables-dlt-with/m-p/111136#M43805</guid>
      <dc:creator>susanne</dc:creator>
      <dc:date>2025-02-25T14:45:57Z</dc:date>
    </item>
  </channel>
</rss>

