Bernardo Cortez
06/06/2022, 4:57 PMDataLakeServiceClient
using from azure.storage.filedatalake import DataLakeServiceClient
I get the following error:
File "/tmp/tmpqxk27irl/cashback_spark/utilities/service_client.py", line 4, in <module>
from azure.storage.filedatalake import DataLakeServiceClient
File "/databricks/python_shell/dbruntime/PythonPackageImportsInstrumentation/__init__.py", line 158, in import_patch
original_result = python_builtin_import(name, globals, locals, fromlist, level)
File "/databricks/python/lib/python3.8/site-packages/azure/storage/filedatalake/__init__.py", line 7, in <module>
from ._download import StorageStreamDownloader
File "/databricks/python_shell/dbruntime/PythonPackageImportsInstrumentation/__init__.py", line 158, in import_patch
original_result = python_builtin_import(name, globals, locals, fromlist, level)
File "/databricks/python/lib/python3.8/site-packages/azure/storage/filedatalake/_download.py", line 7, in <module>
from ._models import FileProperties
File "/databricks/python_shell/dbruntime/PythonPackageImportsInstrumentation/__init__.py", line 158, in import_patch
original_result = python_builtin_import(name, globals, locals, fromlist, level)
File "/databricks/python/lib/python3.8/site-packages/azure/storage/filedatalake/_models.py", line 18, in <module>
from azure.storage.blob._generated.models import StorageErrorException
ImportError: cannot import name 'StorageErrorException' from 'azure.storage.blob._generated.models' (/databricks/python/lib/python3.8/site-packages/azure/storage/blob/_generated/models/__init__.py)This was working before, so I guess there has been some kind of misintegration of any of the latest releases?
johann
06/06/2022, 5:24 PMjamie
06/06/2022, 5:37 PMBernardo Cortez
06/08/2022, 9:24 AMjamie
06/08/2022, 6:52 PMazure-storage
and seeing if the error goes away just to be sure that it's on azure's endBernardo Cortez
06/15/2022, 3:56 PM