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

zhangliang 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 ab8206019b1 Rename function register classes for MySQL, OpenGauss, and 
PostgreSQL to include SQL federation in their names (#37313)
ab8206019b1 is described below

commit ab8206019b1d630be26d153ebbf3f9965b551f86
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Dec 9 20:56:52 2025 +0800

    Rename function register classes for MySQL, OpenGauss, and PostgreSQL to 
include SQL federation in their names (#37313)
---
 ...ctionRegister.java => MySQLSQLFederationFunctionRegister.java} | 4 ++--
 ...federation.compiler.sql.function.SQLFederationFunctionRegister | 2 +-
 ...nRegister.java => OpenGaussSQLFederationFunctionRegister.java} | 8 ++++----
 ...federation.compiler.sql.function.SQLFederationFunctionRegister | 2 +-
 ...Register.java => PostgreSQLSQLFederationFunctionRegister.java} | 4 ++--
 ...federation.compiler.sql.function.SQLFederationFunctionRegister | 2 +-
 6 files changed, 11 insertions(+), 11 deletions(-)

diff --git 
a/kernel/sql-federation/dialect/mysql/src/main/java/org/apache/shardingsphere/sqlfederation/mysql/MySQLFunctionRegister.java
 
b/kernel/sql-federation/dialect/mysql/src/main/java/org/apache/shardingsphere/sqlfederation/mysql/MySQLSQLFederationFunctionRegister.java
similarity index 92%
rename from 
kernel/sql-federation/dialect/mysql/src/main/java/org/apache/shardingsphere/sqlfederation/mysql/MySQLFunctionRegister.java
rename to 
kernel/sql-federation/dialect/mysql/src/main/java/org/apache/shardingsphere/sqlfederation/mysql/MySQLSQLFederationFunctionRegister.java
index e64ff3cd4cb..4c2b00d41dd 100644
--- 
a/kernel/sql-federation/dialect/mysql/src/main/java/org/apache/shardingsphere/sqlfederation/mysql/MySQLFunctionRegister.java
+++ 
b/kernel/sql-federation/dialect/mysql/src/main/java/org/apache/shardingsphere/sqlfederation/mysql/MySQLSQLFederationFunctionRegister.java
@@ -24,9 +24,9 @@ import 
org.apache.shardingsphere.sqlfederation.compiler.sql.function.SQLFederati
 import 
org.apache.shardingsphere.sqlfederation.compiler.sql.function.mysql.impl.MySQLBinFunction;
 
 /**
- * MySQL function register.
+ * SQL federation function register for MySQL.
  */
-public final class MySQLFunctionRegister implements 
SQLFederationFunctionRegister {
+public final class MySQLSQLFederationFunctionRegister implements 
SQLFederationFunctionRegister {
     
     @Override
     public void registerFunction(final SchemaPlus schemaPlus, final String 
schemaName) {
diff --git 
a/kernel/sql-federation/dialect/mysql/src/main/resources/META-INF/services/org.apache.shardingsphere.sqlfederation.compiler.sql.function.SQLFederationFunctionRegister
 
b/kernel/sql-federation/dialect/mysql/src/main/resources/META-INF/services/org.apache.shardingsphere.sqlfederation.compiler.sql.function.SQLFederationFunctionRegister
index 7a9dd3b1086..cc8d0a2ec96 100644
--- 
a/kernel/sql-federation/dialect/mysql/src/main/resources/META-INF/services/org.apache.shardingsphere.sqlfederation.compiler.sql.function.SQLFederationFunctionRegister
+++ 
b/kernel/sql-federation/dialect/mysql/src/main/resources/META-INF/services/org.apache.shardingsphere.sqlfederation.compiler.sql.function.SQLFederationFunctionRegister
@@ -15,4 +15,4 @@
 # limitations under the License.
 #
 
-org.apache.shardingsphere.sqlfederation.mysql.MySQLFunctionRegister
+org.apache.shardingsphere.sqlfederation.mysql.MySQLSQLFederationFunctionRegister
diff --git 
a/kernel/sql-federation/dialect/opengauss/src/main/java/org/apache/shardingsphere/sqlfederation/opengauss/OpenGaussFunctionRegister.java
 
b/kernel/sql-federation/dialect/opengauss/src/main/java/org/apache/shardingsphere/sqlfederation/opengauss/OpenGaussSQLFederationFunctionRegister.java
similarity index 90%
rename from 
kernel/sql-federation/dialect/opengauss/src/main/java/org/apache/shardingsphere/sqlfederation/opengauss/OpenGaussFunctionRegister.java
rename to 
kernel/sql-federation/dialect/opengauss/src/main/java/org/apache/shardingsphere/sqlfederation/opengauss/OpenGaussSQLFederationFunctionRegister.java
index 048605eecf3..d961e8eb756 100644
--- 
a/kernel/sql-federation/dialect/opengauss/src/main/java/org/apache/shardingsphere/sqlfederation/opengauss/OpenGaussFunctionRegister.java
+++ 
b/kernel/sql-federation/dialect/opengauss/src/main/java/org/apache/shardingsphere/sqlfederation/opengauss/OpenGaussSQLFederationFunctionRegister.java
@@ -21,14 +21,14 @@ import org.apache.calcite.schema.SchemaPlus;
 import org.apache.calcite.schema.impl.ScalarFunctionImpl;
 import 
org.apache.shardingsphere.sqlfederation.compiler.sql.function.SQLFederationFunctionRegister;
 import 
org.apache.shardingsphere.sqlfederation.compiler.sql.function.opengauss.impl.OpenGaussSystemFunction;
-import 
org.apache.shardingsphere.sqlfederation.postgresql.PostgreSQLFunctionRegister;
+import 
org.apache.shardingsphere.sqlfederation.postgresql.PostgreSQLSQLFederationFunctionRegister;
 
 /**
- * Opengauss function register.
+ * SQL federation function register for opengauss.
  */
-public final class OpenGaussFunctionRegister implements 
SQLFederationFunctionRegister {
+public final class OpenGaussSQLFederationFunctionRegister implements 
SQLFederationFunctionRegister {
     
-    private final SQLFederationFunctionRegister delegate = new 
PostgreSQLFunctionRegister();
+    private final SQLFederationFunctionRegister delegate = new 
PostgreSQLSQLFederationFunctionRegister();
     
     @Override
     public void registerFunction(final SchemaPlus schemaPlus, final String 
schemaName) {
diff --git 
a/kernel/sql-federation/dialect/opengauss/src/main/resources/META-INF/services/org.apache.shardingsphere.sqlfederation.compiler.sql.function.SQLFederationFunctionRegister
 
b/kernel/sql-federation/dialect/opengauss/src/main/resources/META-INF/services/org.apache.shardingsphere.sqlfederation.compiler.sql.function.SQLFederationFunctionRegister
index 74ae47412ba..bbd04089f85 100644
--- 
a/kernel/sql-federation/dialect/opengauss/src/main/resources/META-INF/services/org.apache.shardingsphere.sqlfederation.compiler.sql.function.SQLFederationFunctionRegister
+++ 
b/kernel/sql-federation/dialect/opengauss/src/main/resources/META-INF/services/org.apache.shardingsphere.sqlfederation.compiler.sql.function.SQLFederationFunctionRegister
@@ -15,4 +15,4 @@
 # limitations under the License.
 #
 
-org.apache.shardingsphere.sqlfederation.opengauss.OpenGaussFunctionRegister
+org.apache.shardingsphere.sqlfederation.opengauss.OpenGaussSQLFederationFunctionRegister
diff --git 
a/kernel/sql-federation/dialect/postgresql/src/main/java/org/apache/shardingsphere/sqlfederation/postgresql/PostgreSQLFunctionRegister.java
 
b/kernel/sql-federation/dialect/postgresql/src/main/java/org/apache/shardingsphere/sqlfederation/postgresql/PostgreSQLSQLFederationFunctionRegister.java
similarity index 91%
rename from 
kernel/sql-federation/dialect/postgresql/src/main/java/org/apache/shardingsphere/sqlfederation/postgresql/PostgreSQLFunctionRegister.java
rename to 
kernel/sql-federation/dialect/postgresql/src/main/java/org/apache/shardingsphere/sqlfederation/postgresql/PostgreSQLSQLFederationFunctionRegister.java
index b8d2fdc69f7..b2bee98c522 100644
--- 
a/kernel/sql-federation/dialect/postgresql/src/main/java/org/apache/shardingsphere/sqlfederation/postgresql/PostgreSQLFunctionRegister.java
+++ 
b/kernel/sql-federation/dialect/postgresql/src/main/java/org/apache/shardingsphere/sqlfederation/postgresql/PostgreSQLSQLFederationFunctionRegister.java
@@ -23,9 +23,9 @@ import 
org.apache.shardingsphere.sqlfederation.compiler.sql.function.SQLFederati
 import 
org.apache.shardingsphere.sqlfederation.compiler.sql.function.postgresql.impl.PostgreSQLSystemFunction;
 
 /**
- * PostgreSQL function register.
+ * SQL federation function register for PostgreSQL.
  */
-public final class PostgreSQLFunctionRegister implements 
SQLFederationFunctionRegister {
+public final class PostgreSQLSQLFederationFunctionRegister implements 
SQLFederationFunctionRegister {
     
     @Override
     public void registerFunction(final SchemaPlus schemaPlus, final String 
schemaName) {
diff --git 
a/kernel/sql-federation/dialect/postgresql/src/main/resources/META-INF/services/org.apache.shardingsphere.sqlfederation.compiler.sql.function.SQLFederationFunctionRegister
 
b/kernel/sql-federation/dialect/postgresql/src/main/resources/META-INF/services/org.apache.shardingsphere.sqlfederation.compiler.sql.function.SQLFederationFunctionRegister
index 1c21f5bd7f1..8650fcd48d5 100644
--- 
a/kernel/sql-federation/dialect/postgresql/src/main/resources/META-INF/services/org.apache.shardingsphere.sqlfederation.compiler.sql.function.SQLFederationFunctionRegister
+++ 
b/kernel/sql-federation/dialect/postgresql/src/main/resources/META-INF/services/org.apache.shardingsphere.sqlfederation.compiler.sql.function.SQLFederationFunctionRegister
@@ -15,4 +15,4 @@
 # limitations under the License.
 #
 
-org.apache.shardingsphere.sqlfederation.postgresql.PostgreSQLFunctionRegister
+org.apache.shardingsphere.sqlfederation.postgresql.PostgreSQLSQLFederationFunctionRegister

Reply via email to