om.microsoft.azure.storage.StorageException: The specifed resource name contains invalid characters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 02:37 AM
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.
I would really appreciate if someone could help me out as i have been stuck with it for hours
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 09:33 PM
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 06:10 PM
Could you please elaborate?