小编use*_*794的帖子

从 R 笔记本访问 Azure Blob 存储

在 python 中,这就是我从 Azure blob 访问 csv 的方式

storage_account_name = "testname"
storage_account_access_key = "..."
file_location = "wasb://example@testname.blob.core.windows.net/testfile.csv"

spark.conf.set(
  "fs.azure.account.key."+storage_account_name+".blob.core.windows.net",
  storage_account_access_key)

df = spark.read.format('csv').load(file_location, header = True, inferSchema = True)
Run Code Online (Sandbox Code Playgroud)

我怎样才能在 R 中做到这一点?我找不到任何文档...

r azure azure-storage sparkr

3
推荐指数
1
解决办法
4750
查看次数

标签 统计

azure ×1

azure-storage ×1

r ×1

sparkr ×1