JSqlParser icon indicating copy to clipboard operation
JSqlParser copied to clipboard

JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes. The generated hierarchy can be navigated using the Visitor Pattern

Results 222 JSqlParser issues
Sort by recently updated
recently updated
newest added
trafficstars

This is just a reminder for myself, so far I found the following Oracle specific statements missing: - ~~`ALTER SYSTEM`~~ Fixed by PR #1288 - ~~`RENAME table TO ...`~~ Fixed...

improvement

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. `SELECT double precision '1'` 2. Parsing this SQL using...

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. `SELECT TIMESTAMP WITH TIME ZONE '2004-10-19 10:23:54+02'` 2. Parsing...

duplicate

it seems like since https://github.com/JSQLParser/JSqlParser/pull/1274/files#diff-7a533138e54adbf0baac5356d4b7d4a6d192300199ef50eede004f706fd35de3R104 `ColumnDefinition` accepts `ExpressionVisitorAdapter` https://github.com/JSQLParser/JSqlParser/blob/c89cf21641d672b1ea5e724b3c6f3497429ce97a/src/main/java/net/sf/jsqlparser/statement/create/table/ColumnDefinition.java#L104-L106 is it possible to have it take one of the interfaces instead? (just noticed also, they seem to be referencing each...

My code: ``` @Test public void testJSQParser() { String sql = "alter table if exists public.table2 rename to table3;"; Validation validation = new Validation(List.of(DatabaseType.POSTGRESQL), sql); List errors = validation.validate(); Assert.assertTrue(errors.toString(),...

(Sorry for opening a new issue. I could not find a way to reopen the previous one.) Unfortunately, this does not work for all items. Or am I missing something?...

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Example SQL SELECT id,account,real_name,mobile,email,mobile_account,created_at,status,merchant_type,type FROM user WHERE deleted =...

support json operator in postgres

My code: ``` @Test public void testJSQLParserValidation() { String sql = "CREATE TABLE SOMESCHEMA.SOMERELATIONTABLE (REL1_PK INT NOT NULL, REL2_PK " + "INT NOT NULL, CONSTRAINT REL1_REL2_PKS UNIQUE (REL1_PK, REL2_PK) "...

Hi, interesting case **To reproduce:** Parse `t1.t2(v).t3.c1 = @v`. Exception message: "Encountered unexpected token: "=" "=" at line 1, column 15. Was expecting one of: "("" but the next similar...