zihaoAK47 commented on code in PR #28059:
URL: https://github.com/apache/shardingsphere/pull/28059#discussion_r1292349406
##########
parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/DDLStatement.g4:
##########
@@ -673,11 +673,11 @@ memOptimizeWriteClause
;
enableDisableClauses
- : (enableDisableClause | enableDisableOthers)?
+ : (enableDisableClause | enableDisableOthers)+
;
enableDisableClause
- : (ENABLE | DISABLE) (VALIDATE |NO VALIDATE)? ((UNIQUE columnName (COMMA_
columnName)*) | PRIMARY KEY | constraintWithName) usingIndexClause?
exceptionsClause? CASCADE? ((KEEP | DROP) INDEX)?
+ : (ENABLE | DISABLE) (VALIDATE | NOVALIDATE)? ((UNIQUE columnName (COMMA_
columnName)*) | PRIMARY KEY | constraintWithName) usingIndexClause?
exceptionsClause? CASCADE? ((KEEP | DROP) INDEX)?
Review Comment:
https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/ALTER-TABLE.html#GUID-552E7373-BF93-477D-9DA3-B2C9386F2877__I2183600
##########
parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/DDLStatement.g4:
##########
@@ -3376,7 +3376,7 @@ overflowClause
;
addOverflowClause
- : ADD OVERFLOW segmentAttributesClause? LP_ PARTITION
segmentAttributesClause? (COMMA_ PARTITION segmentAttributesClause?)* RP_
+ : ADD OVERFLOW segmentAttributesClause? (LP_ PARTITION
segmentAttributesClause? (COMMA_ PARTITION segmentAttributesClause?)* RP_)?
Review Comment:
https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/ALTER-TABLE.html#GUID-552E7373-BF93-477D-9DA3-B2C9386F2877__I2082143
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]