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

SNOW-1822242: AttributeError: module 'snowflake.sqlalchemy.snowdialect' has no attribute 'BOOLEAN' #549

Closed
NathanFarmer opened this issue Nov 22, 2024 · 4 comments · Fixed by #551
Assignees
Labels
bug Something isn't working status-fixed_awaiting_release The issue has been fixed, its PR merged, and now awaiting the next release cycle of the connector. status-triage_done Initial triage done, will be further handled by the driver team

Comments

@NathanFarmer
Copy link

NathanFarmer commented Nov 22, 2024

  1. What version of Python are you using?

3.12.7

  1. What operating system and processor architecture are you using?

macOS-14.7.1-arm64-arm-64bit

  1. What are the component versions in the environment (pip freeze)?

asn1crypto==1.5.1
certifi==2024.8.30
cffi==1.17.1
charset-normalizer==3.4.0
cryptography==43.0.3
filelock==3.16.1
idna==3.10
packaging==24.2
platformdirs==4.3.6
pycparser==2.22
PyJWT==2.10.0
pyOpenSSL==24.2.1
pytz==2024.2
requests==2.32.3
snowflake-connector-python==3.12.3
snowflake-sqlalchemy==1.7.0
sortedcontainers==2.4.0
SQLAlchemy==2.0.36
tomlkit==0.13.2
typing_extensions==4.12.2
urllib3==2.2.3

  1. What did you do?
>> python3.12 -m venv snowflake-sqlalchemy && source snowflake-sqlalchemy/bin/activate
>> pip install snowflake-sqlalchemy==1.7.0
>> python
>> from snowflake.sqlalchemy import snowdialect
>> snowdialect.BOOLEAN
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'snowflake.sqlalchemy.snowdialect' has no attribute 'BOOLEAN'
  1. What did you expect to see?
>> python3.12 -m venv snowflake-sqlalchemy && source snowflake-sqlalchemy/bin/activate
>> pip install 'snowflake-sqlalchemy<1.7.0'
>> python
>> from snowflake.sqlalchemy import snowdialect
>> snowdialect.BOOLEAN
<class 'sqlalchemy.sql.sqltypes.BOOLEAN'>
@NathanFarmer NathanFarmer added bug Something isn't working needs triage labels Nov 22, 2024
@github-actions github-actions bot changed the title AttributeError: module 'snowflake.sqlalchemy.snowdialect' has no attribute 'BOOLEAN' SNOW-1822242: AttributeError: module 'snowflake.sqlalchemy.snowdialect' has no attribute 'BOOLEAN' Nov 22, 2024
@sfc-gh-dszmolka
Copy link
Contributor

we'll check this, thank you for reporting!

@sfc-gh-dszmolka sfc-gh-dszmolka added status-triage_done Initial triage done, will be further handled by the driver team and removed bug Something isn't working labels Nov 24, 2024
@sfc-gh-dszmolka sfc-gh-dszmolka added bug Something isn't working status-pr_pending_merge A PR is made and is under review and removed needs triage labels Nov 25, 2024
@sfc-gh-dszmolka
Copy link
Contributor

fix incoming on #551

@sfc-gh-dszmolka
Copy link
Contributor

change is merged, but reopening this issue to be able to properly track the release

@sfc-gh-dszmolka sfc-gh-dszmolka added status-fixed_awaiting_release The issue has been fixed, its PR merged, and now awaiting the next release cycle of the connector. and removed status-pr_pending_merge A PR is made and is under review labels Nov 25, 2024
@sfc-gh-dszmolka
Copy link
Contributor

released with snowflake-sqlalchemy v1.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status-fixed_awaiting_release The issue has been fixed, its PR merged, and now awaiting the next release cycle of the connector. status-triage_done Initial triage done, will be further handled by the driver team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants