如何使用Spark/Scala从Azure Blob获取文件列表?
问题描述:
如何从Spark和Scala的Azure blob存储中获取文件列表.
How to get list of file from Azure blob storage in Spark and Scala.
我不知道要解决这个问题.
I am not getting any idea to approach this.
答
如果您使用的是数据块,请尝试以下操作
If you are using databricks, try the below
dbutils.fs.ls("blob_storage_location")
dbutils.fs.ls("blob_storage_location")