我正在尝试读取作为镶木地板存储在我的Azure ADLS存储中的数据。
将单个文件读入Pandas数据帧很简单:
token = lib.auth(tenant_id = tenantId, client_secret = clientKey, client_id = clientId)
adlsFileSystemClient = core.AzureDLFileSystem(token, store_name=adls)
with adlsFileSystemClient.open("/path/to/file.parquet", 'rb') as f:
df = pd.read_parquet(f)
但是当我尝试读取分区实木复合地板时:
with adlsFileSystemClient.open("/path/to/dir/2019/1/12/*.parquet", 'rb') as f:
df = pd.read_parquet(f)
我有此错误: azure.datalake.store.exceptions.FileNotFoundError:/ path / to / dir / 2019/1/12 / *。parquet