boyjoy1127 commented on code in PR #28028:
URL: https://github.com/apache/shardingsphere/pull/28028#discussion_r1291153841
##########
parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/DDLStatement.g4:
##########
@@ -220,7 +220,21 @@ oidIndexClause
;
createRelationalTableClause
- : (LP_ relationalProperties RP_) collationClause? commitClause?
physicalProperties? tableProperties?
+ : (LP_ relationalProperties RP_)
Review Comment:
This is new gramma of partitionSpec:
```
public final OracleStatementParser.PartitionSpecContext partitionSpec()
throws RecognitionException {
OracleStatementParser.PartitionSpecContext _localctx = new
OracleStatementParser.PartitionSpecContext(this._ctx, this.getState());
this.enterRule(_localctx, 912, 456);
try {
this.enterOuterAlt(_localctx, 1);
this.setState(9390);
this.match(204);
this.setState(9396);
this._errHandler.sync(this);
switch(((ParserATNSimulator)this.getInterpreter()).adaptivePredict(this._input,
1039, this._ctx)) {
case 1:
this.setState(9391);
this.partitionName();
this.setState(9392);
this.tablePartitionDescription();
break;
case 2:
this.setState(9394);
this.partitionName();
break;
case 3:
this.setState(9395);
this.tablePartitionDescription();
}
} catch (RecognitionException var6) {
_localctx.exception = var6;
this._errHandler.reportError(this, var6);
this._errHandler.recover(this, var6);
} finally {
this.exitRule();
}
return _localctx;
}
```
--
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]