This is an automated email from the ASF dual-hosted git repository.

duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 70c9058c17a 29551 (#29552)
70c9058c17a is described below

commit 70c9058c17af19dfa53056fa6ccdfadfe1a8f9aa
Author: ilyas ahsan <[email protected]>
AuthorDate: Tue Dec 26 18:02:04 2023 +0700

    29551 (#29552)
---
 .../sql/dialect/oracle/src/main/antlr4/imports/oracle/DDLStatement.g4  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/DDLStatement.g4 
b/parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/DDLStatement.g4
index 3261c446847..4083310f37e 100644
--- a/parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/DDLStatement.g4
+++ b/parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/DDLStatement.g4
@@ -20,8 +20,7 @@ grammar DDLStatement;
 import DMLStatement, DCLStatement;
 
 createView
-    : CREATE (OR REPLACE)? (NO? FORCE)? (EDITIONING | EDITIONABLE EDITIONING? 
| NONEDITIONABLE)? VIEW viewName
-    ( SHARING EQ_ (METADATA | DATA | EXTENDED DATA | NONE))?
+    : CREATE (OR REPLACE)? (NO? FORCE)? (EDITIONING | EDITIONABLE EDITIONING? 
| NONEDITIONABLE)? VIEW viewName createSharingClause
     ( LP_ ((alias (VISIBLE | INVISIBLE)? inlineConstraint* | 
outOfLineConstraint) (COMMA_ (alias (VISIBLE | INVISIBLE)? inlineConstraint* | 
outOfLineConstraint))*) RP_
     | objectViewClause | xmlTypeViewClause)?
     ( DEFAULT COLLATION collationName)? (BEQUEATH (CURRENT_USER | DEFINER))? 
AS select subqueryRestrictionClause?

Reply via email to