<?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: Temporary streaming tables (CDC) in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/temporary-streaming-tables-cdc/m-p/80572#M36067</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/97998"&gt;@raphaelblg&lt;/a&gt;,&amp;nbsp;good news you guys are working on it. I am using python file deployed by databricks bundles. I think it is not possible to mix SQL with python in dlt pipelines right?&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2024 13:13:46 GMT</pubDate>
    <dc:creator>mbaas</dc:creator>
    <dc:date>2024-07-25T13:13:46Z</dc:date>
    <item>
      <title>Temporary streaming tables (CDC)</title>
      <link>https://community.databricks.com/t5/data-engineering/temporary-streaming-tables-cdc/m-p/80346#M35997</link>
      <description>&lt;P&gt;I am currently using the `apply_changes` feature. I saw for the regular decorator `dlt.table` you can create temporary tables. I do not see the option you could use this feature with `dlt.create_streaming_table(`, in the sql version it looks it is supported: CREATE OR REFRESH TEMPORARY STREAMING TABLE.&lt;/P&gt;&lt;P&gt;Is there any other way I could create a table without the use of `dlt.create_streaming_table`?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 12:06:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/temporary-streaming-tables-cdc/m-p/80346#M35997</guid>
      <dc:creator>mbaas</dc:creator>
      <dc:date>2024-07-24T12:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Temporary streaming tables (CDC)</title>
      <link>https://community.databricks.com/t5/data-engineering/temporary-streaming-tables-cdc/m-p/80453#M36018</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/113542"&gt;@mbaas&lt;/a&gt;, support for temporary tables by using the&amp;nbsp;&lt;STRONG&gt;create_streaming_table&lt;/STRONG&gt;() function is under development at the current moment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;Is there any other way I could create a table without the use of `dlt.create_streaming_table`?&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;Yes, through the &lt;A href="https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-create-streaming-table.html" target="_self"&gt;CREATE STREAMING TABLE&lt;/A&gt;&amp;nbsp;SQL statement on &lt;A href="https://docs.databricks.com/en/delta-live-tables/index.html" target="_self"&gt;DLT&lt;/A&gt; or &lt;A href="https://docs.databricks.com/en/sql/index.html#what-is-databricks-sql" target="_self"&gt;DBSQL&lt;/A&gt;. In the future this might also be possible through serverless notebooks or serverless job compute.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 21:54:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/temporary-streaming-tables-cdc/m-p/80453#M36018</guid>
      <dc:creator>raphaelblg</dc:creator>
      <dc:date>2024-07-24T21:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Temporary streaming tables (CDC)</title>
      <link>https://community.databricks.com/t5/data-engineering/temporary-streaming-tables-cdc/m-p/80466#M36024</link>
      <description>&lt;P&gt;Read this articles:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/delta-live-tables/python-ref#--create-a-table-to-use-as-the-target-of-streaming-operations" target="_blank"&gt;Delta Live Tables Python language reference - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/delta-live-tables/cdc" target="_blank"&gt;The APPLY CHANGES APIs: Simplify change data capture with Delta Live Tables - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Even you could define as temporary, it would be storage into catalog _Databricks_Internal, so forget temporary in this case.&lt;BR /&gt;&lt;BR /&gt;You must have an append only data source before you apply changes&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 04:03:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/temporary-streaming-tables-cdc/m-p/80466#M36024</guid>
      <dc:creator>Icassatti</dc:creator>
      <dc:date>2024-07-25T04:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Temporary streaming tables (CDC)</title>
      <link>https://community.databricks.com/t5/data-engineering/temporary-streaming-tables-cdc/m-p/80572#M36067</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/97998"&gt;@raphaelblg&lt;/a&gt;,&amp;nbsp;good news you guys are working on it. I am using python file deployed by databricks bundles. I think it is not possible to mix SQL with python in dlt pipelines right?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 13:13:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/temporary-streaming-tables-cdc/m-p/80572#M36067</guid>
      <dc:creator>mbaas</dc:creator>
      <dc:date>2024-07-25T13:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Temporary streaming tables (CDC)</title>
      <link>https://community.databricks.com/t5/data-engineering/temporary-streaming-tables-cdc/m-p/80581#M36072</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/113542"&gt;@mbaas&lt;/a&gt; you're right, it's not possible to mix %sql with %python magic commands in DLT pipelines source code notebooks.&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Adding to the&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/105336"&gt;@Icassatti&lt;/a&gt;&amp;nbsp;explanation on DLT temporary tables:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;"Create a table, but do not publish metadata for the table. The&amp;nbsp;&lt;CODE class="docutils literal notranslate"&gt;&lt;SPAN class="pre"&gt;temporary&lt;/SPAN&gt;&lt;/CODE&gt;&amp;nbsp;keyword instructs Delta Live Tables to create a table that is available to the pipeline but should not be accessed outside the pipeline. To reduce processing time, a temporary table persists for the lifetime of the pipeline that creates it, and not just a single update".&amp;nbsp;&lt;/EM&gt;Source: &lt;A href="https://docs.databricks.com/en/delta-live-tables/python-ref.html" target="_blank" rel="noopener"&gt;Delta Live Tables Python language reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 14:51:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/temporary-streaming-tables-cdc/m-p/80581#M36072</guid>
      <dc:creator>raphaelblg</dc:creator>
      <dc:date>2024-07-25T14:51:40Z</dc:date>
    </item>
  </channel>
</rss>

