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

Update to JSQLParser 5.0 #110

Merged
merged 4 commits into from
Oct 25, 2024
Merged

Update to JSQLParser 5.0 #110

merged 4 commits into from
Oct 25, 2024

Conversation

crisptrutski
Copy link
Collaborator

@crisptrutski crisptrutski commented Oct 25, 2024

Closes #91
Closes #73

This upgrades us to the latest JSQLParser, which fixes one of our fixtures.

Unfortunately it seems there is a bug in the tokens, they are giving off-by-one errors on their line, which was a real pain to discover after going down so many other rabbit holes. They also changed the scope of the Table node to include the alias, which was also quite annoying.

The new Visitor interfaces are really more Foldable / Traversibles, which is great - it means we can use them to make the completeness of our newer walkers statically verified, but I have not done that here yet.

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @crisptrutski and the rest of your teammates on Graphite Graphite

@crisptrutski crisptrutski marked this pull request as ready for review October 25, 2024 13:14
Copy link
Contributor

@piranha piranha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dec dec is incredible 🤣

@crisptrutski crisptrutski merged commit 19628f5 into master Oct 25, 2024
5 checks passed
@crisptrutski crisptrutski deleted the jsqlparser-5.0 branch October 25, 2024 13:30
@crisptrutski crisptrutski changed the title More dynamic testing. Find a case we don't handle yet Update to JSQLParser 5.0 Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade JSQLParser to 5.0 Date operations like BETWEEN sometimes cause issues
2 participants