boyjoy1127 commented on code in PR #28028:
URL: https://github.com/apache/shardingsphere/pull/28028#discussion_r1291153249


##########
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 old gramma of  partitionSpec:
   ```
        public final PartitionSpecContext partitionSpec() throws 
RecognitionException {
                PartitionSpecContext _localctx = new PartitionSpecContext(_ctx, 
getState());
                enterRule(_localctx, 502, RULE_partitionSpec);
                try {
                        enterOuterAlt(_localctx, 1);
                        {
                        setState(5896);
                        match(PARTITION);
                        setState(5898);
                        _errHandler.sync(this);
                        switch ( 
getInterpreter().adaptivePredict(_input,626,_ctx) ) {
                        case 1:
                                {
                                setState(5897);
                                partitionName();
                                }
                                break;
                        }
                        setState(5901);
                        _errHandler.sync(this);
                        switch ( 
getInterpreter().adaptivePredict(_input,627,_ctx) ) {
                        case 1:
                                {
                                setState(5900);
                                tablePartitionDescription();
                                }
                                break;
                        }
                        }
                }
                catch (RecognitionException re) {
                        _localctx.exception = re;
                        _errHandler.reportError(this, re);
                        _errHandler.recover(this, re);
                }
                finally {
                        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]

Reply via email to