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/03/08 01:16:28 UTC

[GitHub] [shardingsphere] wgy8283335 commented on a change in pull request #9603: [SQL Definition Collation][Oracle]Collate the SQL definition of SET ROLE

wgy8283335 commented on a change in pull request #9603:
URL: https://github.com/apache/shardingsphere/pull/9603#discussion_r589116496



##########
File path: shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/src/main/antlr4/imports/oracle/DCLStatement.g4
##########
@@ -321,3 +321,15 @@ dropRole
 alterRole
     : ALTER ROLE
     ;
+
+setRole
+    : SET ROLE (roleAssignment | allClause | NONE)
+    ;
+
+roleAssignment
+    : roleName (IDENTIFIED BY password)? (COMMA_ roleName (IDENTIFIED BY password)? )*
+    ;
+
+allClause
+    : ALL (EXCEPT roleName (COMMA_ roleName)*)?
+    ;

Review comment:
       Add a new line at the end of the file.




----------------------------------------------------------------
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