You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/11/01 02:33:18 UTC

[GitHub] [calcite] danny0405 commented on a change in pull request #1544: [CALCITE-3415] Supports REGEXP_SUBSTR function

danny0405 commented on a change in pull request #1544: [CALCITE-3415] Supports REGEXP_SUBSTR function
URL: https://github.com/apache/calcite/pull/1544#discussion_r341432643
 
 

 ##########
 File path: core/src/main/java/org/apache/calcite/sql/fun/SqlStdOperatorTable.java
 ##########
 @@ -1762,6 +1762,8 @@ public SqlSyntax getSyntax() {
 
   public static final SqlFunction NULLIF = new SqlNullifFunction();
 
+  public static final SqlFunction REGEXP_SUBSTR = new SqlRegexpSubstrFunction();
+
 
 Review comment:
   You can add it to `SqlLibraryOperators` under the `MySql` and `Oracle` sql dialects.

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


With regards,
Apache Git Services