strongduanmu commented on code in PR #28847:
URL: https://github.com/apache/shardingsphere/pull/28847#discussion_r1368495612
##########
parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/DDLStatement.g4:
##########
@@ -3973,53 +3974,45 @@ alterTablespace
| tablespaceRetentionClause
| alterTablespaceEncryption
| lostWriteProtection
- )
- ;
+ )
+ ;
-newTablespaceName
- : identifier
- ;
+defaultTablespaceParams
+ : DEFAULT defaultTableCompression? defaultIndexCompression?
inmemoryClause? ilmClause? storageClause?
+ ;
-datafileTempfileClauses
- : ADD (datafileSpecification | tempfileSpecification)
- | DROP (DATAFILE | TEMPFILE) (fileSpecification | UNSIGNED_INTEGER) (KEEP
sizeClause)?
- | SHRINK TEMPFILE (fileSpecification | UNSIGNED_INTEGER) (KEEP sizeClause)?
- | RENAME DATAFILE fileSpecification (COMMA_ fileSpecification)* TO
fileSpecification (COMMA_ fileSpecification)*
- | (DATAFILE | TEMPFILE) (ONLINE|OFFLINE)
- ;
+defaultTableCompression
+ : TABLE (COMPRESS FOR OLTP | COMPRESS FOR QUERY (LOW | HIGH) | COMPRESS
FOR ARCHIVE (LOW | HIGH) | NOCOMPRESS)
+ ;
-datafileSpecification
- : DATAFILE
- (COMMA_? datafileTempfileSpec)
- ;
+defaultIndexCompression
+ : INDEX (COMPRESS ADVANCED (LOW | HIGH) | NOCOMPRESS)
Review Comment:
Please ensure that the format is consistent with other rules.
--
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]