Trydamere commented on code in PR #18987:
URL: https://github.com/apache/shardingsphere/pull/18987#discussion_r917354805
##########
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/src/main/antlr4/imports/oracle/DDLStatement.g4:
##########
@@ -2548,3 +2548,184 @@ resolveClauses
resolveClause
: LP_ matchString DOT_? (schemaName | MINUS_) RP_
;
+
+alterAuditPolicy
+ : ALTER AUDIT POLICY policyName
+ (ADD (privilegeAuditClause)? (actionAuditClause)? (roleAuditClause)?
(ONLY TOPLEVEL)?)?
+ (DROP (privilegeAuditClause)? (actionAuditClause)? (roleAuditClause)?
(ONLY TOPLEVEL)?)?
+ (CONDITION ( DROP | condition EVALUATE PER (STATEMENT | SESSION |
INSTANCE)))?
+ ;
+
+privilegeAuditClause
+ : PRIVILEGES systemPrivilegeClause (COMMA_ systemPrivilegeClause)*
+ ;
+
+actionAuditClause
+ : (standardActions | componentActions)*
+ ;
+
+standardActions
+ : ACTIONS (objectAction ON (DIRECTORY directoryName | MINING MODEL
objectName | objectName) | systemAction)
Review Comment:
ok
--
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]