-
Notifications
You must be signed in to change notification settings - Fork 126
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
feat: add basic sqlparser adaptions #338
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iajoiner
force-pushed
the
feat/adapt-sqlparser
branch
8 times, most recently
from
November 5, 2024 21:33
968124d
to
fbde9db
Compare
iajoiner
force-pushed
the
feat/adapt-sqlparser
branch
3 times, most recently
from
November 6, 2024 14:56
40794eb
to
4580d0a
Compare
JayWhite2357
requested changes
Nov 6, 2024
Literal::Int128(n) => Value::Number(n.to_string(), false), | ||
Literal::Decimal(n) => Value::Number(n.to_string(), false), | ||
Literal::Boolean(b) => Value::Boolean(b), | ||
Literal::Timestamp(_ts) => todo!(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make this an Expr::TypedString
? This is what sqlparser
does. Then, this should be impl From<Literal> for Expr
.
iajoiner
force-pushed
the
feat/adapt-sqlparser
branch
2 times, most recently
from
November 6, 2024 19:56
4428efc
to
26d19ad
Compare
2 tasks
iajoiner
force-pushed
the
feat/adapt-sqlparser
branch
from
November 7, 2024 06:13
2160bd2
to
a2ce853
Compare
JayWhite2357
approved these changes
Nov 7, 2024
🎉 This PR is included in version 0.36.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
Please go through the following checklist
!
is used if and only if at least one breaking change has been introduced.source scripts/run_ci_checks.sh
.Rationale for this change
In order to allow #235 to be done in time for JOIN-related integrations we need to get
proof-of-sql-parser
->sqlparser
adaptions done. Large parts of the work going forward can then become more manageable.What changes are included in this PR?
sqlparser.rs
with adaptationsAre these changes tested?
Yes