You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by hu...@apache.org on 2025/07/26 14:21:01 UTC

(shardingsphere) branch revert-36076-dev created (now b7ce8ae0217)

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

hucong pushed a change to branch revert-36076-dev
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


      at b7ce8ae0217 Revert "Add support for COLON_ parameter marker in Oracle"

This branch includes the following new commits:

     new b7ce8ae0217 Revert "Add support for COLON_ parameter marker in Oracle"

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(shardingsphere) 01/01: Revert "Add support for COLON_ parameter marker in Oracle"

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hucong pushed a commit to branch revert-36076-dev
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git

commit b7ce8ae0217a6b231c7da6d31c9dea6a93a342cb
Author: Cong Hu <ia...@gmail.com>
AuthorDate: Sat Jul 26 22:20:54 2025 +0800

    Revert "Add support for COLON_ parameter marker in Oracle"
    
    This reverts commit 95429a501e89f56ee70fad157e9a4db92638109b.
---
 RELEASE-NOTES.md                                                     | 1 -
 parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/BaseRule.g4 | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md
index 8e8d74f49b8..1ad5b27a391 100644
--- a/RELEASE-NOTES.md
+++ b/RELEASE-NOTES.md
@@ -66,7 +66,6 @@
 1. SQL Parser: Support Hive TRUNCATE TABLE statement parse - [#36049](https://github.com/apache/shardingsphere/pull/36049)
 1. SQL Parser: Support Hive ALTER TABLE statement parse - [#36066](https://github.com/apache/shardingsphere/pull/36066)
 1. SQL Binder: Fix is unable to find the outer table in the ExistsSubqueryExpressionBinder - [#36068](https://github.com/apache/shardingsphere/pull/36068)
-1. SQL Parser: Add support for COLON_ parameter marker in Oracle - [#36076](https://github.com/apache/shardingsphere/pull/36076)
 
 ### Bug Fixes
 
diff --git a/parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/BaseRule.g4 b/parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/BaseRule.g4
index b8808083074..4dfdd772c76 100644
--- a/parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/BaseRule.g4
+++ b/parser/sql/dialect/oracle/src/main/antlr4/imports/oracle/BaseRule.g4
@@ -21,7 +21,6 @@ import Symbol, Keyword, OracleKeyword, Literals;
 
 parameterMarker
     : QUESTION_
-    | COLON_ (identifier | INTEGER_)
     ;
 
 literals
@@ -570,7 +569,7 @@ jsonOnNullClause
 jsonReturnClause
     : RETURNING VARCHAR2 (LP_ INTEGER_ ( BYTE | CHAR)? RP_)?
     ;
-
+    
 jsonObjectKeyValue
     : (KEY? expr VALUE expr) (FORMAT JSON)?
     ;