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. SqlStdOperatorTable only accepts operator that belong to the SQL 
standard now, as what its name implies.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to