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

Fixed Postgres query parsing issues #1087

Merged
merged 3 commits into from
Mar 17, 2025

Conversation

JoramMillenaar
Copy link
Contributor

Description

The newly implemented postgres/AGE parsing had some bugs; in the _record_to_dict and the get_knowledge_graph I found some issues.

Related Issues

Changes Made

  • Fixed _record_to_dict's non-age formatted query results parsing
  • Fixed and somewhat refactored get_knowledge_graph parser

Checklist

  • Changes tested locally
  • Code reviewed
  • Documentation updated (if necessary)
  • Unit tests added (if applicable)

Additional Notes

The fix has some overlap with this PR #1085, but adds the knowledge graph fix and writes the _record_to_dict a bit more concise. Feel free to close this one if the other is preferred 👍. Just wanted to get this out there in case other's experienced similar issues.

@LarFii
Copy link
Collaborator

LarFii commented Mar 17, 2025

Thanks for sharing!

@LarFii LarFii merged commit 2967fd2 into HKUDS:main Mar 17, 2025
1 check failed
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