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

SQLAlchemy: Improve error message when using schema query parameter twice #82

Open
amotl opened this issue Dec 4, 2023 · 0 comments
Open

Comments

@amotl
Copy link
Member

amotl commented Dec 4, 2023

Problem

When approaching the CrateDB SQLAlchemy dialect with an erroneous connection string including the schema query parameter twice, like crate://localhost/?schema=foo&schema=bar, it fails using this exception message:

(crate.client.exceptions.ProgrammingError) expected string or bytes-like object, got 'tuple'

The error message may be improved.

References

@amotl amotl changed the title SQLAlchemy: Improve error message when using schema parameter twice SQLAlchemy: Improve error message when using schema query parameter twice Dec 4, 2023
@amotl amotl transferred this issue from crate/crate-python Jun 16, 2024
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

1 participant