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

1.3.0rc0 Bug Fix | SQLAlchemy | Properly quote identifier #1395

Merged
merged 3 commits into from
Oct 8, 2024

Conversation

hayescode
Copy link
Contributor

Fixes the SQLAlchemy bug raised in #1394

Bug introduced in @1319 where userId wasn't encased with double-quotes so the SQL engine converts userId to userid which doesn't exist. Encasing with double-quotes fixes this issue.

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. backend Pertains to the Python backend. bug Something isn't working labels Oct 2, 2024
@desertproject
Copy link
Contributor

I’ve come across this bug and endorse the proposed solution.

@dokterbob
Copy link
Collaborator

@hayescode Thanks for the fix and @desertproject thanks for the endorsement/testing.

@dokterbob dokterbob merged commit 0039137 into Chainlit:main Oct 8, 2024
16 checks passed
@hayescode hayescode deleted the patch-2 branch October 8, 2024 16:25
dokterbob pushed a commit that referenced this pull request Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Pertains to the Python backend. bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants