flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] yanghua commented on a change in pull request #6448: [FLINK-9990] [table] Add regex_extract supported in TableAPI and SQL
Date Sat, 04 Aug 2018 06:47:52 GMT
yanghua commented on a change in pull request #6448: [FLINK-9990] [table] Add regex_extract
supported in TableAPI and SQL
URL: https://github.com/apache/flink/pull/6448#discussion_r207701539
 
 

 ##########
 File path: docs/dev/table/sql.md
 ##########
 @@ -1842,6 +1842,16 @@ RPAD(text string, len integer, pad string)
     <tr>
       <td>
         {% highlight text %}
+REGEX_EXTRACT(str string, regex string, extractIndex integer)
+{% endhighlight %}
+      </td>
+      <td>
+        <p>Returns the string str extracted using specified regex pattern and index.
If str or regex is null, returns null. E.g. <code>REGEX_EXTRACT('foothebar', 'foo(.*?)(bar)',
2)</code> returns <code>bar</code>.</p>
 
 Review comment:
   I agree this idea, but the path `docs/api/java/util/regex/Matcher.html`, how to access?
It's not a complete URL.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Mime
View raw message