在 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 中做到这一点?我找不到任何文档...