zihaoAK47 commented on code in PR #29610:
URL: https://github.com/apache/shardingsphere/pull/29610#discussion_r1438962250
##########
parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/PLSQL.g4:
##########
@@ -280,9 +284,37 @@ autonomousTransPragma
;
dmlEventClause
- : dmlEventElement (OR dmlEventElement)* ON viewName
+ : (dmlEventElement (OR dmlEventElement)* ON viewName)
+ | (nonDmlEventElement (OR nonDmlEventElement)* ON (DATABASE | (schemaName
DOT_)? SCHEMA))
;
dmlEventElement
: (DELETE | INSERT | UPDATE) (OF LP_ columnName (COMMA_ columnName)* RP_)?
;
+
+nonDmlEventElement
+ : ALTER
Review Comment:
Can you provide a grammar diagram reference here?
--
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]