GitHub / JSQLParser/JSqlParser / commits
JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes. The generated hierarchy can be navigated using the Visitor Pattern
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| 6298e79b |
build: exclude Parser classes from coverage to avoid 'too large' exception
Signed-off-by: Andreas Reichel <a****s@m****m>, manticore-projects <a****s@m****m> |
manticore-projects <a****s@m****m> | about 2 years ago | |
| cd0689e0 |
fix: remove obsolete `SimpleFunction`
Signed-off-by: Andreas Reichel <a****s@m****m>, manticore-projects <a****s@m****m> |
manticore-projects <a****s@m****m> | about 2 years ago | |
| d7bf249b |
feat: `CREATE SCHEMA IF NOT EXISTS ...`
Signed-off-by: Andreas Reichel <a****s@m****m>, manticore-projects <a****s@m****m> |
manticore-projects <a****s@m****m> | about 2 years ago | |
| 11616a02 | chore removing system.out.println lines + minor clean up of unit test scripts... |
nicky6s <n****n@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 82470e55 | feature/fix: parsing inserts/updates/delete within CTEs (#2055) |
nicky6s <n****n@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 21c605e3 | chore adding extra details to unit test scenarios (#2051) |
nicky6s <n****n@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 79dc30f0 |
style: fix minor Q/A exceptions
Signed-off-by: Andreas Reichel <a****s@m****m>, manticore-projects <a****s@m****m> |
manticore-projects <a****s@m****m> | about 2 years ago | |
| e9e157b6 |
style: fix minor Q/A exceptions
Signed-off-by: Andreas Reichel <a****s@m****m>, manticore-projects <a****s@m****m> |
manticore-projects <a****s@m****m> | about 2 years ago | |
| dc14c4b4 | fix insert default values statements not parsing (#2050) |
nicky6s <n****n@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| aca82f59 | fix truncate parsing to capture multiple tables (#2048) |
Nick Redfearn <9****n@u****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 5dcd5bf5 |
build: set JavaCC options in the Maven build
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| e842e185 |
fix: license headers
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 421e2894 |
fix: add needed LOOKAHEAD(2)
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 93c8210e |
Resolve parsing error for CHARACTER SET and COLLATE in MySQL ALTER TABLE (iss...
Co-authored-by: mj-db <m****b@k****m> |
Minjae Lee <m****8@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 0970312e | doc: fix the badges | Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 08254afd | doc: update readme | Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 821e92e8 |
Avoid private tokens to be white listed and allow any word character in token...
Co-authored-by: Stefan Steinhauser <s****r@a****t> |
Stefan Steinhauser <s****v@s****l>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 11cebcfd |
fix: TablesNamesFinder `UpdateSets`
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| e0ad7c84 |
fix: Multi-Variable `LambdaExpression`
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| d8207aaf |
fix: `FromItem` alias must not shade an actual table (found before)
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| e8bc4463 |
feat: improve the Expression Visitor Adapter
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 8a662af8 |
feat: improve Visitors
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 13572a83 |
feat: syntax sugar
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| f3268e73 |
feat: improve String representation of `Table` and `Column`
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 6a36b3fc |
feat: improve usability of the `ExpressionVisitorAdapter`
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 4b7fd0b6 | [maven-release-plugin] prepare for next development iteration | Tobias Warneke <t****e@g****t> | about 2 years ago | |
| 4b246f1c | [maven-release-plugin] prepare release jsqlparser-5.0 | Tobias Warneke <t****e@g****t> | about 2 years ago | |
| 275e0c06 | switched to version 5.0-SNAPSHOT | Tobias Warneke <t****e@g****t> | about 2 years ago | |
| 5fb9f568 | corrected license header | Tobias Warneke <t****e@g****t> | about 2 years ago | |
| edfdc4c9 | merge Merge origin/master | Tobias Warneke <t****e@g****t> | about 2 years ago | |
| 456d53b0 | corrected license header | Tobias Warneke <t****e@g****t> | about 2 years ago | |
| 0e1ff56b | merge Merge branch 'master' of github.com:JSQLParser/JSqlParser | Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 6fd842be |
doc: document the new Visitors
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 7f8aace8 |
doc: document the new Visitors
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 3f99548b |
feat: provide compatibility methods
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| e1692990 |
feat: apply the new parametrized Visitor patterns to all entities and provide...
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 2fce4c00 |
feat: syntax sugar
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 5bd28c8b |
feat: Visitors return Objects and accept parameters
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 131a988c |
feat: Visitors return Objects
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| c2328120 |
feat: Visitors return Objects
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| ec497627 |
feat: Visitors return Objects
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 681cac93 |
feat: Visitors return Objects
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| fc90c0b5 | feat: Allow OUTER keyword as function parameter name (#2021) |
Chris Crabtree <c****e@m****m>
Committed by: GitHub <n****y@g****m> |
about 2 years ago | |
| 5c360a2f |
feat: BigQuery `SELECT AS STRUCT ...` and `SELECT AS VALUE ...`
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| c9ecfc6d |
fix: `AllTableColumns`, DuckDB specific `EXCLUDE`
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 2ace74d1 |
feat: add syntax sugar
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 1ad42342 |
feat: `AllColumns`, DuckDB uses `EXCLUDE` instead of `EXCEPT`
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| f4b40e43 |
fix: `AllColumns` Replacement shall be about Columns only
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | about 2 years ago | |
| 858058ed |
build: more effective Deparser Constructors
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 1d717bf4 |
build: more effective Deparser Constructors
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 8846f674 |
build: update Gradle
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| ae1eff9f |
feat: syntax sugar
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 818464c9 |
feat: syntax sugar
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 2cb3e589 |
feat: syntax sugar
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| b2eed1e9 |
feat: syntax sugar
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 5f580af1 |
fix: `FromItem` with Alias without `AS` keyword
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 7479342d | support custom DeParser (#2013) |
Redkale <r****e@q****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 4af64509 |
style: re-arrange class
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| e9c9a173 |
feat: Databricks IGNORE/RESPECT NULLS
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 544b1683 |
feat: Databricks IGNORE/RESPECT NULLS
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| e07f8d01 | fix: set `stringValue` in `DoubleValue.setValue` (#2009) |
Damian <d****n@g****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 7d4cc2fa |
style: quieten the logger
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 3676ddc6 |
build: update Gradle Wrapper
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 4867c80d |
build: bring back JaCoCo
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| fbe97a8d |
fix: try working around `UnsupportedStatement` issue
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 7daf7af3 |
fix: allow `BASE64` keyword
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 0368b9eb | feat: Capture expression name part delimiters (#2001) |
Chris Crabtree <c****k@g****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| b8156011 |
build: Gradle JavaDoc needs generated java sources
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| a8923ad1 |
build: Maven/tests on JDK17 or later
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| df48c4ba | Add missing java.sql require (#1999) |
Ethan McCue <e****n@m****v>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 761b45b2 | Add module info (#1998) |
Ethan McCue <e****e@l****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| ca5c553e |
feat: syntax sugar
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| df519333 |
feat: translate HEX to Unicode String and ByteArray String
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| c2ff4ae7 |
build: tweak the Maven build
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| b95d8e3e |
fix: `StructType` expressions must use Visitor instead of `toString()`
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| be87c74a |
feature: remove `Parenthesis` in favor of `ParenthesedExpressionList`
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 302b4fb0 |
feature: DuckDB `SIMILAR TO` expression
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 6e9bf42b |
feat: `StructType` syntax sugar
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| e426c5a6 |
feat: `Values` implement `FromItem`
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 4e1a1535 |
fix: `AnyComparisionItem` with extra brackets
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 66d05a2b |
feat: add `ParenthesedSelect` delegate
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| f1699939 |
feat: add `ParenthesedSelect` delegate
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| bddc41cd |
feat: Simplify traversing the AST bottom to top
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| c1edf0f8 |
feat: AST Node access for `FromItem`
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 321c8809 |
feat: RedShift specific Window function IGNORE | RESPECT NULLS
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 13e61a72 |
feat: RedShift allows `TOP` before `DISTINCT`, see https://docs.aws.amazon.co...
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| cf7fe157 |
fix: `FOR UPDATE` clause should come after the select body
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| f417c8f2 |
fix: initialise the `SelectDeparser` with an `ExpressionDeparser` (but not wi...
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| e4ece0c3 |
feat: Redshift `APPROXIMATE` Aggregate functions
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 1606e5f0 |
feat: add `CCJSqlParserUtil.sanitizeSingleSql(String sqlStr)` to help MyBatik...
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| ced6ace8 |
test: add more test cases
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 063d2442 |
feat: return any `UnsupportedStatement` content
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 15d14ab0 |
fix: `ALTER ...` shall `captureRest()` only to the next statement terminator
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| c4e013bf |
style: Q/A exceptions
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 82b459bf |
feat: re-enable `UnsupportedStatement`
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| a57ea5c9 |
doc: document error recovery and `UnsupportedStatement`
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| b3d3a8e4 |
feat: better statement error recovery
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 9e190239 |
build: disable coverage plugin which throws errors
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 1d9438e7 |
feat: Syntax Sugar for the parser features
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago | |
| 9045e7c9 |
style: Q/A
Signed-off-by: Andreas Reichel <a****s@m****m> |
Andreas Reichel <a****s@m****m> | over 2 years ago |