Describe the bug
I am currently getting constant warnings about not having SQL Alchemy installed when the mask_db_url for the following config_variables.yml entry:
/local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.10/site-packages/great_expectations/data_context/util.py:196: UserWarning: SQLAlchemy is not installed, using urlparse to mask database url password which ignores **kwargs.
warnings.warn(
Expected behavior
Looking at the source code for the mask_db_url function I see that there is a special case included for the azure blob storage strings _obfuscate_azure_blobstore_connection_string. But the function seems to fail the check if url.startswith("DefaultEndpointsProtocol") for some reason.
Environment (please complete the following information):
Describe the bug I am currently getting constant warnings about not having SQL Alchemy installed when the mask_db_url for the following config_variables.yml entry:
AZURE_STORAGE_CONNECTION_STRING: "DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=;AccountKey="
I have removed the account name and account key for this example
To Reproduce
Include above entry in config_variables.yml
Here is my great_expectations.yml config:
I get this warning message all the time for most operations using the GE Framework. Simplest example would be:
ge_context = ge.get_context(context_root_dir="/dbfs/mnt/config/gx/")
I get the output:
/local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.10/site-packages/great_expectations/data_context/util.py:196: UserWarning: SQLAlchemy is not installed, using urlparse to mask database url password which ignores **kwargs. warnings.warn(
Expected behavior Looking at the source code for the mask_db_url function I see that there is a special case included for the azure blob storage strings _obfuscate_azure_blobstore_connection_string. But the function seems to fail the check if url.startswith("DefaultEndpointsProtocol") for some reason.
Environment (please complete the following information):