File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
main/jjtree/net/sf/jsqlparser/parser
test/java/net/sf/jsqlparser/statement/select Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1120,7 +1120,7 @@ Not all names should be allowed for aliases.
1120
1120
String RelObjectNameWithoutValue() :
1121
1121
{ Token tk = null; }
1122
1122
{
1123
- (tk=<S_IDENTIFIER> | tk=<S_QUOTED_IDENTIFIER> | tk=<K_BYTE> | tk=<K_CHAR>
1123
+ (tk=<S_IDENTIFIER> | tk=<S_QUOTED_IDENTIFIER> | tk=<K_BYTE> | tk=<K_CHAR> | tk=<K_CHANGE>
1124
1124
| tk=<K_CAST> | tk=<K_COMMENT> | tk=<K_DO> | tk=<K_EXTRACT> | tk=<K_FIRST> | tk=<K_FOLLOWING>
1125
1125
| tk=<K_LAST> | tk=<K_MATERIALIZED> | tk=<K_NULLS> | tk=<K_PARTITION> | tk=<K_RANGE>
1126
1126
| tk=<K_ROW> | tk=<K_ROWS> | tk=<K_SIBLINGS> | tk=<K_XML>
Original file line number Diff line number Diff line change @@ -3851,4 +3851,9 @@ public void testLimitClauseDroppedIssue845() throws JSQLParserException {
3851
3851
public void testLimitClauseDroppedIssue845_2 () throws JSQLParserException {
3852
3852
assertSqlCanBeParsedAndDeparsed ("SELECT * FROM employee ORDER BY emp_id LIMIT 10 OFFSET 2" );
3853
3853
}
3854
+
3855
+ @ Test
3856
+ public void testChangeKeywordIssue859 () throws JSQLParserException {
3857
+ assertSqlCanBeParsedAndDeparsed ("SELECT * FROM CHANGE.TEST" );
3858
+ }
3854
3859
}
You can’t perform that action at this time.
0 commit comments