You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not able to get both snowflake and databricks working with great-expectations 0.18.11 and 0.18.12. Could not find python packages setup which works for both of them.
I tried following:
Installed following libraries for databricks
"pip install great_expectations[sqlalchemy]
"pip install great_expectations[databricks]"
Wrote expectations for databricks data source and it works nicely.
Then I Installed following library for snowflake
"pip install great_expectations[snowflake]",
Then I wrote expectations for snowflake which also works as expected. But it broke my databricks setup. When I executed my existing databricks expectations, I got following error:
raise SQLDatasourceError(
great_expectations.datasource.fluent.sql_datasource.SQLDatasourceError: Unable to create a SQLAlchemy engine due to the following exception: module 'sqlalchemy.types' has no attribute 'Uuid'
May be this is because installation of "great_expectations[sqlalchemy]" downgrades SQLAlchemy from 2.0.28 to 1.4.52.
Databricks and Snowflake are two important data sources which should work together with common python environment. Can someone provide "pip freeze" setup which works for both?
The text was updated successfully, but these errors were encountered:
satniks
changed the title
[BUG] Unable to get both snowflake and databricks working with great-expectations 0.18.11 and 0.18.12
[BUG] Unable to get both snowflake and databricks working with gx version 0.18.11 and 0.18.12
Mar 22, 2024
satniks
changed the title
[BUG] Unable to get both snowflake and databricks working with gx version 0.18.11 and 0.18.12
[BUG] Unable to get both snowflake and databricks working with gx at the same time
Mar 23, 2024
It seems snowflake-sqlalchemy team is going to add support for sqlalchemy 2.x and once it is done, there will be a common sqlalchemy version that will work with databricks. Not sure about the timelines though. I hope great-expectations 1.0 will support latest snowflake and databricks versions at the same time in common python environment.
I am not able to get both snowflake and databricks working with great-expectations 0.18.11 and 0.18.12. Could not find python packages setup which works for both of them.
I tried following:
Installed following libraries for databricks
"pip install great_expectations[sqlalchemy]
"pip install great_expectations[databricks]"
Wrote expectations for databricks data source and it works nicely.
Then I Installed following library for snowflake
"pip install great_expectations[snowflake]",
Then I wrote expectations for snowflake which also works as expected. But it broke my databricks setup. When I executed my existing databricks expectations, I got following error:
raise SQLDatasourceError(
great_expectations.datasource.fluent.sql_datasource.SQLDatasourceError: Unable to create a SQLAlchemy engine due to the following exception: module 'sqlalchemy.types' has no attribute 'Uuid'
May be this is because installation of "great_expectations[sqlalchemy]" downgrades SQLAlchemy from 2.0.28 to 1.4.52.
Databricks and Snowflake are two important data sources which should work together with common python environment. Can someone provide "pip freeze" setup which works for both?
The text was updated successfully, but these errors were encountered: