-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[feat] Support for JSON_TABLE #2328
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
base: master
Are you sure you want to change the base?
Conversation
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.
Great work and I do appreciate your effort and dedication. Thank you much!
A few small concerns though, nothing severe just the normal German nit-picking.
Kudos and cheers!
| | <#TYPE_REAL: "REAL" | "FLOAT4" | "FLOAT"> | ||
| | <#TYPE_DOUBLE: "DOUBLE" | "PRECISION" | "FLOAT8" | "FLOAT64"> | ||
| | <#TYPE_VARCHAR: "NVARCHAR" | "VARCHAR" | "NCHAR" | <K_CHAR> | "BPCHAR" | "TEXT" | "STRING" | <K_CHARACTER> | "VARYING"> | ||
| | <#TYPE_VARCHAR2: <K_VARCHAR2>> |
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.
This should got to TYPE_VARCHAR since we try to establish a reasonable grouping please.
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.
Yeah, that was left over from me figuring it out
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.
This is a problem. When I move this into the TYPE_VARCHAR, the generated TokenManager gets a code too large. I guess we're reaching the limits of JavaCC again...
I'll have to look into why exactly this happens, but I've not applied this change yet in my last commit.
src/main/java/net/sf/jsqlparser/util/validation/validator/ExpressionValidator.java
Outdated
Show resolved
Hide resolved
src/main/java/net/sf/jsqlparser/util/deparser/SelectDeParser.java
Outdated
Show resolved
Hide resolved
src/main/java/net/sf/jsqlparser/util/deparser/ExpressionDeParser.java
Outdated
Show resolved
Hide resolved
src/main/java/net/sf/jsqlparser/statement/select/FromItemVisitorAdapter.java
Show resolved
Hide resolved
src/main/java/net/sf/jsqlparser/expression/JsonQueryWrapperType.java
Outdated
Show resolved
Hide resolved
src/main/java/net/sf/jsqlparser/expression/ExpressionVisitorAdapter.java
Outdated
Show resolved
Hide resolved
Keep the nit-picking coming :) There's still some features missing before I'll consider this PR ready for merge. |
No description provided.