<?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: Unable to write structured streaming in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/unable-to-write-structured-streaming/m-p/14124#M510</link>
    <description>&lt;P&gt;Hi, This can be an issue where Storage Blob Data contributor role is missing. Please refer: &lt;A href="https://docs.databricks.com/external-data/azure-storage.html" target="test_blank"&gt;https://docs.databricks.com/external-data/azure-storage.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jan 2023 17:45:21 GMT</pubDate>
    <dc:creator>Debayan</dc:creator>
    <dc:date>2023-01-03T17:45:21Z</dc:date>
    <item>
      <title>Unable to write structured streaming</title>
      <link>https://community.databricks.com/t5/data-governance/unable-to-write-structured-streaming/m-p/14122#M508</link>
      <description>&lt;P&gt;Without streaming everything works fine. When I try to set up some example structured streaming in my company's new Databricks workspace (we're trying it out) I can't seem to figure out the correct way to save it/write to storage. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the picture below. I don't think my code is correct. I tried to adapt some code I found. If I include the .table line (in the writeStream) then I get the error message as shown. The error message is so unclear I have no idea what I'm supposed to do. If I comment the .table line, then it will initialize the stream, create the directory in adls gen2 storage but never complete, just stuck at "Initializing stream". I do want the .table line though so I can specify catalog, schema and table name of the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using Unity Catalog and it works fine for normal non-streaming workloads, reading from the same files as this stream does and writing to the same storage accounts+containers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="code and error message"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/935i86541BC9D9B37313/image-size/large?v=v2&amp;amp;px=999" role="button" title="code and error message" alt="code and error message" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2022 11:50:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/unable-to-write-structured-streaming/m-p/14122#M508</guid>
      <dc:creator>espenol</dc:creator>
      <dc:date>2022-12-30T11:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write structured streaming</title>
      <link>https://community.databricks.com/t5/data-governance/unable-to-write-structured-streaming/m-p/14123#M509</link>
      <description>&lt;P&gt;hey you code is correct , and after analyzing the error you got , is i guess you dont have a write access to that storage account or path , you only have the read permission not the write permission&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer this link , &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/external-data/azure-storage.html" alt="https://docs.databricks.com/external-data/azure-storage.html" target="_blank"&gt;https://docs.databricks.com/external-data/azure-storage.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Dec 2022 16:42:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/unable-to-write-structured-streaming/m-p/14123#M509</guid>
      <dc:creator>Rishabh-Pandey</dc:creator>
      <dc:date>2022-12-31T16:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write structured streaming</title>
      <link>https://community.databricks.com/t5/data-governance/unable-to-write-structured-streaming/m-p/14124#M510</link>
      <description>&lt;P&gt;Hi, This can be an issue where Storage Blob Data contributor role is missing. Please refer: &lt;A href="https://docs.databricks.com/external-data/azure-storage.html" target="test_blank"&gt;https://docs.databricks.com/external-data/azure-storage.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 17:45:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/unable-to-write-structured-streaming/m-p/14124#M510</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-01-03T17:45:21Z</dc:date>
    </item>
  </channel>
</rss>

