我正在努力写回 Azure Blob 存储容器。我可以使用以下内容从容器中读取内容:
storage_account_name = "expstorage"
storage_account_key = "1VP89J..."
container = "source"
spark.conf.set("fs.azure.account.key.{0}.blob.core.windows.net".format(storage_account_name), storage_account_key)
dbutils.fs.ls("dbfs:/mnt/azurestorage")
Run Code Online (Sandbox Code Playgroud)
我尝试了多种方法来写回我的容器,只是进行搜索,但我找不到确定的方法。
这是使用 SAS 密钥的替代方案的链接,但我不想混合/匹配密钥类型。