<?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: om.microsoft.azure.storage.StorageException: The specifed resource name contains invalid charact in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/om-microsoft-azure-storage-storageexception-the-specifed/m-p/46952#M5944</link>
    <description>&lt;P&gt;Hi Kaniz, thank you for your reply. I initially made the mistake of using a capital letter in the queue as part of config files. I can now write, there is no error as a batch process. However, when I try to run the write stream, it says"Running Command" and it just keeps running without the output. I have the checkpoint folder being created, but I can't see my delta files. There is no _delta_log folder being created. I'm not sure what the issue is and my code is as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;cloudFilesOption = {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.format"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"csv"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.useNotifications"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"true"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;# Use file notifications for efficient discovery&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.includeExistingFiles"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"true"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;# Process existing files in addition to new ones&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.connectionString"&lt;/SPAN&gt;&lt;SPAN&gt;: dbutils.secrets.get(scope=&lt;/SPAN&gt;&lt;SPAN&gt;"stockseval-con-string"&lt;/SPAN&gt;&lt;SPAN&gt;, key=&lt;/SPAN&gt;&lt;SPAN&gt;"stockseval-con-string"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.resourceGroup"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"stocks"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.subscriptionId"&lt;/SPAN&gt;&lt;SPAN&gt;: dbutils.secrets.get(scope=&lt;/SPAN&gt;&lt;SPAN&gt;"subscription-id"&lt;/SPAN&gt;&lt;SPAN&gt;, key=&lt;/SPAN&gt;&lt;SPAN&gt;"subscription-id"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.tenantId"&lt;/SPAN&gt;&lt;SPAN&gt;: dbutils.secrets.get(scope=&lt;/SPAN&gt;&lt;SPAN&gt;"tenant-id"&lt;/SPAN&gt;&lt;SPAN&gt;, key=&lt;/SPAN&gt;&lt;SPAN&gt;"tenant-id"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.clientId"&lt;/SPAN&gt;&lt;SPAN&gt;: dbutils.secrets.get(scope=&lt;/SPAN&gt;&lt;SPAN&gt;"clientid"&lt;/SPAN&gt;&lt;SPAN&gt;, key=&lt;/SPAN&gt;&lt;SPAN&gt;"clientid"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.clientSecret"&lt;/SPAN&gt;&lt;SPAN&gt;: dbutils.secrets.get(scope = &lt;/SPAN&gt;&lt;SPAN&gt;"adls-db"&lt;/SPAN&gt;&lt;SPAN&gt;, key = &lt;/SPAN&gt;&lt;SPAN&gt;"client-secret"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.maxFilesPerTrigger"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"100"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;# Number of files to process per micro-batch&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.schemaLocation"&lt;/SPAN&gt;&lt;SPAN&gt; : &lt;/SPAN&gt;&lt;SPAN&gt;"abfss://financialdatabronze@stockseval.dfs.core.windows.net/"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.schemaEvolutionMode"&lt;/SPAN&gt;&lt;SPAN&gt; : &lt;/SPAN&gt;&lt;SPAN&gt;"addNewColumns"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;landing_loc = &lt;/SPAN&gt;&lt;SPAN&gt;"/mnt/financialdatalandingzone/balancesheet/annualreports/"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;df = spark.readStream.&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"cloudFiles"&lt;/SPAN&gt;&lt;SPAN&gt;).options(**cloudFilesOption).option(&lt;/SPAN&gt;&lt;SPAN&gt;"Header"&lt;/SPAN&gt;&lt;SPAN&gt; ,&lt;/SPAN&gt;&lt;SPAN&gt;True&lt;/SPAN&gt;&lt;SPAN&gt;).load(landing_loc)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;bronze_layer = &lt;/SPAN&gt;&lt;SPAN&gt;"/mnt/financialdatabronze/balancesheet/annualreports/"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;df.writeStream.&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"delta"&lt;/SPAN&gt;&lt;SPAN&gt;).outputMode(&lt;/SPAN&gt;&lt;SPAN&gt;"append"&lt;/SPAN&gt;&lt;SPAN&gt;).trigger(once= &lt;/SPAN&gt;&lt;SPAN&gt;True&lt;/SPAN&gt;&lt;SPAN&gt;).queryName(&lt;/SPAN&gt;&lt;SPAN&gt;"Autoloader"&lt;/SPAN&gt;&lt;SPAN&gt;).option(&lt;/SPAN&gt;&lt;SPAN&gt;"checkpointLocation"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"/mnt/financialdatabronze/balancesheet/annualreports_checkpoint/"&lt;/SPAN&gt;&lt;SPAN&gt;).start(bronze_layer).awaitTermination() &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 30 Sep 2023 04:33:40 GMT</pubDate>
    <dc:creator>manas_884</dc:creator>
    <dc:date>2023-09-30T04:33:40Z</dc:date>
    <item>
      <title>om.microsoft.azure.storage.StorageException: The specifed resource name contains invalid characters.</title>
      <link>https://community.databricks.com/t5/get-started-discussions/om-microsoft-azure-storage-storageexception-the-specifed/m-p/45639#M5942</link>
      <description>&lt;P&gt;Hi guys I'm relatively new to Databricks and struggling to implement an autoloader ( with trigger once = true ) in file notifications mode. I have CSV files in one container (landing zone). I would like the autoloader to pick up new and existing files from this container and load these CSV files in delta format in another container. I can read the stream with the credentials, however i when I try to write the stream using df.writeStream(), I get the above storage exception. I checked the files names and paths as well and just to be sure, I read the files using spar. read and I was successfully able to write it as a batch process. I'm really not able to figure out why I cannot write the stream whereas I can write it as a batch job. I also have the correct roles assigned to the service principal.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I would really appreciate if someone could help me out as i have been stuck with it for hours&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 09:37:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/om-microsoft-azure-storage-storageexception-the-specifed/m-p/45639#M5942</guid>
      <dc:creator>manas_884</dc:creator>
      <dc:date>2023-09-22T09:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: om.microsoft.azure.storage.StorageException: The specifed resource name contains invalid charact</title>
      <link>https://community.databricks.com/t5/get-started-discussions/om-microsoft-azure-storage-storageexception-the-specifed/m-p/46952#M5944</link>
      <description>&lt;P&gt;Hi Kaniz, thank you for your reply. I initially made the mistake of using a capital letter in the queue as part of config files. I can now write, there is no error as a batch process. However, when I try to run the write stream, it says"Running Command" and it just keeps running without the output. I have the checkpoint folder being created, but I can't see my delta files. There is no _delta_log folder being created. I'm not sure what the issue is and my code is as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;cloudFilesOption = {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.format"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"csv"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.useNotifications"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"true"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;# Use file notifications for efficient discovery&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.includeExistingFiles"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"true"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;# Process existing files in addition to new ones&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.connectionString"&lt;/SPAN&gt;&lt;SPAN&gt;: dbutils.secrets.get(scope=&lt;/SPAN&gt;&lt;SPAN&gt;"stockseval-con-string"&lt;/SPAN&gt;&lt;SPAN&gt;, key=&lt;/SPAN&gt;&lt;SPAN&gt;"stockseval-con-string"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.resourceGroup"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"stocks"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.subscriptionId"&lt;/SPAN&gt;&lt;SPAN&gt;: dbutils.secrets.get(scope=&lt;/SPAN&gt;&lt;SPAN&gt;"subscription-id"&lt;/SPAN&gt;&lt;SPAN&gt;, key=&lt;/SPAN&gt;&lt;SPAN&gt;"subscription-id"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.tenantId"&lt;/SPAN&gt;&lt;SPAN&gt;: dbutils.secrets.get(scope=&lt;/SPAN&gt;&lt;SPAN&gt;"tenant-id"&lt;/SPAN&gt;&lt;SPAN&gt;, key=&lt;/SPAN&gt;&lt;SPAN&gt;"tenant-id"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.clientId"&lt;/SPAN&gt;&lt;SPAN&gt;: dbutils.secrets.get(scope=&lt;/SPAN&gt;&lt;SPAN&gt;"clientid"&lt;/SPAN&gt;&lt;SPAN&gt;, key=&lt;/SPAN&gt;&lt;SPAN&gt;"clientid"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.clientSecret"&lt;/SPAN&gt;&lt;SPAN&gt;: dbutils.secrets.get(scope = &lt;/SPAN&gt;&lt;SPAN&gt;"adls-db"&lt;/SPAN&gt;&lt;SPAN&gt;, key = &lt;/SPAN&gt;&lt;SPAN&gt;"client-secret"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.maxFilesPerTrigger"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"100"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;# Number of files to process per micro-batch&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.schemaLocation"&lt;/SPAN&gt;&lt;SPAN&gt; : &lt;/SPAN&gt;&lt;SPAN&gt;"abfss://financialdatabronze@stockseval.dfs.core.windows.net/"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cloudFiles.schemaEvolutionMode"&lt;/SPAN&gt;&lt;SPAN&gt; : &lt;/SPAN&gt;&lt;SPAN&gt;"addNewColumns"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;landing_loc = &lt;/SPAN&gt;&lt;SPAN&gt;"/mnt/financialdatalandingzone/balancesheet/annualreports/"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;df = spark.readStream.&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"cloudFiles"&lt;/SPAN&gt;&lt;SPAN&gt;).options(**cloudFilesOption).option(&lt;/SPAN&gt;&lt;SPAN&gt;"Header"&lt;/SPAN&gt;&lt;SPAN&gt; ,&lt;/SPAN&gt;&lt;SPAN&gt;True&lt;/SPAN&gt;&lt;SPAN&gt;).load(landing_loc)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;bronze_layer = &lt;/SPAN&gt;&lt;SPAN&gt;"/mnt/financialdatabronze/balancesheet/annualreports/"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;df.writeStream.&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"delta"&lt;/SPAN&gt;&lt;SPAN&gt;).outputMode(&lt;/SPAN&gt;&lt;SPAN&gt;"append"&lt;/SPAN&gt;&lt;SPAN&gt;).trigger(once= &lt;/SPAN&gt;&lt;SPAN&gt;True&lt;/SPAN&gt;&lt;SPAN&gt;).queryName(&lt;/SPAN&gt;&lt;SPAN&gt;"Autoloader"&lt;/SPAN&gt;&lt;SPAN&gt;).option(&lt;/SPAN&gt;&lt;SPAN&gt;"checkpointLocation"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"/mnt/financialdatabronze/balancesheet/annualreports_checkpoint/"&lt;/SPAN&gt;&lt;SPAN&gt;).start(bronze_layer).awaitTermination() &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 30 Sep 2023 04:33:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/om-microsoft-azure-storage-storageexception-the-specifed/m-p/46952#M5944</guid>
      <dc:creator>manas_884</dc:creator>
      <dc:date>2023-09-30T04:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: om.microsoft.azure.storage.StorageException: The specifed resource name contains invalid charact</title>
      <link>https://community.databricks.com/t5/get-started-discussions/om-microsoft-azure-storage-storageexception-the-specifed/m-p/47772#M5946</link>
      <description>&lt;P&gt;Could you please elaborate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 01:10:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/om-microsoft-azure-storage-storageexception-the-specifed/m-p/47772#M5946</guid>
      <dc:creator>manas_884</dc:creator>
      <dc:date>2023-10-03T01:10:00Z</dc:date>
    </item>
  </channel>
</rss>

