wgy8283335 commented on a change in pull request #10052:
URL: https://github.com/apache/shardingsphere/pull/10052#discussion_r616276547
##########
File path:
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/src/main/antlr4/imports/oracle/DDLStatement.g4
##########
@@ -106,7 +106,7 @@ oidClause
;
oidIndexClause
- : OIDINDEX indexName? LP_ (physicalAttributesClause | TABLESPACE
tablespaceName)+ RP_
+ : OIDINDEX indexName? LP_ ((physicalAttributesClause | TABLESPACE
tablespaceName)+ | ) RP_
;
Review comment:
How about like this?
`oidIndexClause
: OIDINDEX indexName? LP_ (physicalAttributesClause | TABLESPACE
tablespaceName)* RP_
;`
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]