Skip to content

SQLAlchemy dialect native bool support #73

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

Closed
ms32035 opened this issue Dec 15, 2022 · 3 comments
Closed

SQLAlchemy dialect native bool support #73

ms32035 opened this issue Dec 15, 2022 · 3 comments

Comments

@ms32035
Copy link

ms32035 commented Dec 15, 2022

Should be

class DatabricksDialect(default.DefaultDialect):
    """This dialect implements only those methods required to pass our e2e tests"""

    supports_native_boolean: bool = True

as otherwise bools are converted to ints which results in datatype errors

@susodapop
Copy link
Contributor

Thanks for the tip. SQLAlchemy support hasn't merged into main yet so this won't be available generally. I'll apply this to our working branch.

@nicholasarquette
Copy link

Any idea when this branch will be merged into main?

@susodapop
Copy link
Contributor

Answered here: #57 (comment)

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

No branches or pull requests

3 participants