You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried below as well CCJSqlParserUtil.parse(ddl, parser -> parser.withSquareBracketQuotation(true));
Now Exception is:
Encountered unexpected token: "[Person]" <S_QUOTED_IDENTIFIER>
at line 1, column 372.
Was expecting one of:
")"
","
"CHAR"
<S_CHAR_LITERAL>
<S_IDENTIFIER>
<S_LONG>
If you like to send a PR or sponsor an implementation, we surely will look into it. Otherwise, I am not sure if there will be enough interest in those rather exotic syntax.
Good to know this is a limitation in JSQLParser, not an error in my code.
PR is good idea, I am afraid I can not start coding immediately as this is completely new project for me, It would be helpful if you can share some link to read about design/architecture of JSQLParser. That will make it easy for me to contribute.
Activity
Vipin-Sharma commentedon Jun 15, 2022
Tried below as well
CCJSqlParserUtil.parse(ddl, parser -> parser.withSquareBracketQuotation(true));Now Exception is:
Vipin-Sharma commentedon Jun 15, 2022
This code works fine, here I have removed columns having custom types from DDL. This DDL is part of famous adventureworks database.
Vipin-Sharma commentedon Jun 15, 2022
Tried with previous version of JSQLParser 4.3 and similar behavior.
manticore-projects commentedon Jun 16, 2022
Greetings,
the challenge is about the
XMLdeclaration and without it, everything works fine.If you like to send a PR or sponsor an implementation, we surely will look into it. Otherwise, I am not sure if there will be enough interest in those rather exotic syntax.
Vipin-Sharma commentedon Jun 16, 2022
Good to know this is a limitation in JSQLParser, not an error in my code.
PR is good idea, I am afraid I can not start coding immediately as this is completely new project for me, It would be helpful if you can share some link to read about design/architecture of JSQLParser. That will make it easy for me to contribute.