Skip to content

Sql alchemy commands used in table info #1135

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

Merged
merged 7 commits into from
Feb 18, 2023

Conversation

fpingham
Copy link
Collaborator

@fpingham fpingham commented Feb 18, 2023

This approach has several advantages:

  • it improves the readability of the code
  • removes incompatibilities between SQL dialects
  • fixes a bug with datetime values in rows and ast.literal_eval

Huge thanks and credits to @jzluo for finding the weaknesses in the current approach and for the thoughtful discussion on the best way to implement this.

@fpingham fpingham changed the title Sql alchemy commands are now used in table info Sql alchemy commands used in table info Feb 18, 2023
@fpingham fpingham marked this pull request as ready for review February 18, 2023 18:50
@hwchase17 hwchase17 merged commit 3f29742 into langchain-ai:master Feb 18, 2023
@blob42 blob42 mentioned this pull request Feb 21, 2023
zachschillaci27 pushed a commit to zachschillaci27/langchain that referenced this pull request Mar 8, 2023
This approach has several advantages:

* it improves the readability of the code
* removes incompatibilities between SQL dialects
* fixes a bug with `datetime` values in rows and `ast.literal_eval`

Huge thanks and credits to @jzluo for finding the weaknesses in the
current approach and for the thoughtful discussion on the best way to
implement this.

---------

Co-authored-by: Francisco Ingham <>
Co-authored-by: Jon Luo <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants