Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Errors with snowflake-sqlalchemy 1.7.0 #10710

Open
TrangPham opened this issue Nov 26, 2024 · 1 comment
Open

[BUG] Errors with snowflake-sqlalchemy 1.7.0 #10710

TrangPham opened this issue Nov 26, 2024 · 1 comment

Comments

@TrangPham
Copy link
Contributor

Describe the bug

https://pypi.org/project/snowflake-sqlalchemy/1.7.0/ Released on Nov 21st

will cause the project to error on:

ImportError while loading conftest '/Users/phamt/code/work/great_expectations/tests/conftest.py'.
tests/conftest.py:74: in <module>
    from great_expectations.self_check.util import (
great_expectations/self_check/util.py:337: in <module>
    "BOOLEAN": snowflake.snowflakedialect.BOOLEAN,
E   AttributeError: module 'snowflake.sqlalchemy.snowdialect' has no attribute 'BOOLEAN'

To Reproduce
Please include your great_expectations.yml config, the code you’re executing that causes the issue, and the full stack trace of any error(s).

Install GX with https://pypi.org/project/snowflake-sqlalchemy/1.7.0 and run any tests

Expected behavior
A clear and concise description of what you expected to happen.

No error should happen

Environment (please complete the following information):

  • Operating System: MacOS
  • Great Expectations Version: latest/dev env
  • Data Source: Snowflake
  • Cloud environment: N/A

Additional context
Add any other context about the problem here.

This was fixed yesterday: snowflakedb/snowflake-sqlalchemy#551

@TrangPham TrangPham changed the title Errors with snowflake-sqlalchemy 1.7.0 [BUG] Errors with snowflake-sqlalchemy 1.7.0 Nov 26, 2024
@TrangPham
Copy link
Contributor Author

Suggestion: pin the current version to 1.6.1 until a new version is out/1.7 is yanked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Do
Development

No branches or pull requests

1 participant