You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/06/25 12:19:36 UTC

[GitHub] [shardingsphere] Liangda-w commented on a change in pull request #11000: Add Oracle SQL - ASSOCIATE STATISTICS

Liangda-w commented on a change in pull request #11000:
URL: https://github.com/apache/shardingsphere/pull/11000#discussion_r658720054



##########
File path: shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/src/main/antlr4/imports/oracle/DDLStatement.g4
##########
@@ -1813,3 +1809,36 @@ validationClauses
 intoClause
     : INTO tableName
     ;
+
+associateStatistics
+    : ASSOCIATE STATISTICS WITH (columnAssociation | functionAssociation) storageTableClause?
+    ;
+
+columnAssociation
+    : COLUMNS tableName DOT_ columnName (COMMA_ tableName DOT_ columnName)* usingStatisticsType

Review comment:
       `tableName` is defined as
   
   ```
   tableName
       : (owner DOT_)? name
       ;
   ```




-- 
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:
users@infra.apache.org