You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2023/05/24 00:39:20 UTC

[shardingsphere] branch master updated: Support for MOD, Vertical Bar (#25865)

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 5e8c47b1ce7 Support for MOD, Vertical Bar (#25865)
5e8c47b1ce7 is described below

commit 5e8c47b1ce74d33bf7edc8807607ca28f83a6cf6
Author: kanha gupta <92...@users.noreply.github.com>
AuthorDate: Wed May 24 06:09:12 2023 +0530

    Support for MOD, Vertical Bar (#25865)
---
 .../segment/expression/impl/BinaryOperationExpressionConverter.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/kernel/sql-federation/optimizer/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/converter/segment/expression/impl/BinaryOperationExpressionConverter.java b/kernel/sql-federation/optimizer/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/converter/segment/expression/impl/BinaryOperationExpressionConverter.java
index 0eac48482f7..7f2f19513df 100644
--- a/kernel/sql-federation/optimizer/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/converter/segment/expression/impl/BinaryOperationExpressionConverter.java
+++ b/kernel/sql-federation/optimizer/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/converter/segment/expression/impl/BinaryOperationExpressionConverter.java
@@ -70,6 +70,8 @@ public final class BinaryOperationExpressionConverter implements SQLSegmentConve
         register(SqlStdOperatorTable.IS_FALSE);
         register(SqlStdOperatorTable.IS_NOT_FALSE);
         register(SqlStdOperatorTable.CONCAT);
+        register(SqlStdOperatorTable.PATTERN_ALTER);
+        register(SqlStdOperatorTable.MOD);
     }
     
     private static void register(final SqlOperator sqlOperator) {