<?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 Problem sharing a streaming table created in Delta Live Table via Delta Sharing in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/problem-sharing-a-streaming-table-created-in-delta-live-table/m-p/37573#M491</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I hope you could help me to figure out what I am missing.&lt;/P&gt;&lt;P&gt;I'm trying to do a simple thing. To read the data from the data ingestion zone (csv files saved to Azure Storage Account) using the Delta Live Tables pipeline and share the resulting table to another Databricks workspace using Delta Sharing.&lt;/P&gt;&lt;P&gt;Here is the code that describes the DLT pipeline.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import dlt
from pyspark.sql.functions import *
from pyspark.sql.types import *

raw_path = "/mnt/ingestion/sensors-readings"

@dlt.table(
    comment = "Contains data received from sensors API"
)
def sensors_raw():
    # Auto-loader to load newly ingested files only.
    df = spark.readStream.format("cloudFiles") \
            .option("cloudFiles.format", "csv") \
            .option("header",True) \
            .load(raw_path)
    return (df)&lt;/LI-CODE&gt;&lt;P&gt;It runs successfully and the table is added to the target schema.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vkuznetsov_0-1689259588838.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2847iD3497FE6F2A2ED3B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="vkuznetsov_0-1689259588838.png" alt="vkuznetsov_0-1689259588838.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But when I try to create a share the table is not displayed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023_07_13_16_48_52_Data_Explorer.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2851iDB2299C07B64755E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="2023_07_13_16_48_52_Data_Explorer.png" alt="2023_07_13_16_48_52_Data_Explorer.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The above tables available for sharing are created from the notebook as&amp;nbsp;&lt;SPAN&gt;df.write.saveAsTable().&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When reading available documentation I've seen that the&amp;nbsp;&lt;SPAN&gt;STREAMING_TABLE can't be shared via Delta Sharing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe I'm missing some settings? It would be great if you could help me to figure it out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 14:58:39 GMT</pubDate>
    <dc:creator>vkuznetsov</dc:creator>
    <dc:date>2023-07-13T14:58:39Z</dc:date>
    <item>
      <title>Problem sharing a streaming table created in Delta Live Table via Delta Sharing</title>
      <link>https://community.databricks.com/t5/get-started-discussions/problem-sharing-a-streaming-table-created-in-delta-live-table/m-p/37573#M491</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I hope you could help me to figure out what I am missing.&lt;/P&gt;&lt;P&gt;I'm trying to do a simple thing. To read the data from the data ingestion zone (csv files saved to Azure Storage Account) using the Delta Live Tables pipeline and share the resulting table to another Databricks workspace using Delta Sharing.&lt;/P&gt;&lt;P&gt;Here is the code that describes the DLT pipeline.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import dlt
from pyspark.sql.functions import *
from pyspark.sql.types import *

raw_path = "/mnt/ingestion/sensors-readings"

@dlt.table(
    comment = "Contains data received from sensors API"
)
def sensors_raw():
    # Auto-loader to load newly ingested files only.
    df = spark.readStream.format("cloudFiles") \
            .option("cloudFiles.format", "csv") \
            .option("header",True) \
            .load(raw_path)
    return (df)&lt;/LI-CODE&gt;&lt;P&gt;It runs successfully and the table is added to the target schema.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vkuznetsov_0-1689259588838.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2847iD3497FE6F2A2ED3B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="vkuznetsov_0-1689259588838.png" alt="vkuznetsov_0-1689259588838.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But when I try to create a share the table is not displayed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023_07_13_16_48_52_Data_Explorer.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2851iDB2299C07B64755E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="2023_07_13_16_48_52_Data_Explorer.png" alt="2023_07_13_16_48_52_Data_Explorer.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The above tables available for sharing are created from the notebook as&amp;nbsp;&lt;SPAN&gt;df.write.saveAsTable().&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When reading available documentation I've seen that the&amp;nbsp;&lt;SPAN&gt;STREAMING_TABLE can't be shared via Delta Sharing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe I'm missing some settings? It would be great if you could help me to figure it out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 14:58:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/problem-sharing-a-streaming-table-created-in-delta-live-table/m-p/37573#M491</guid>
      <dc:creator>vkuznetsov</dc:creator>
      <dc:date>2023-07-13T14:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem sharing a streaming table created in Delta Live Table via Delta Sharing</title>
      <link>https://community.databricks.com/t5/get-started-discussions/problem-sharing-a-streaming-table-created-in-delta-live-table/m-p/37576#M492</link>
      <description>&lt;P&gt;Sorry, I think I've created the post in the wrong thread. Created the same post in &lt;A href="https://community.databricks.com/t5/community-discussions/problem-sharing-a-streaming-table-created-in-delta-live-table/td-p/37575" target="_self"&gt;the Community Cove&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 15:10:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/problem-sharing-a-streaming-table-created-in-delta-live-table/m-p/37576#M492</guid>
      <dc:creator>vkuznetsov</dc:creator>
      <dc:date>2023-07-13T15:10:23Z</dc:date>
    </item>
  </channel>
</rss>

