You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "vinoyang (JIRA)" <ji...@apache.org> on 2018/07/29 02:49:00 UTC

[jira] [Created] (FLINK-9990) Add regex_extract supported in TableAPI and SQL

vinoyang created FLINK-9990:
-------------------------------

             Summary: Add regex_extract supported in TableAPI and SQL
                 Key: FLINK-9990
                 URL: https://issues.apache.org/jira/browse/FLINK-9990
             Project: Flink
          Issue Type: Sub-task
          Components: Table API &amp; SQL
            Reporter: vinoyang
            Assignee: vinoyang


regex_extract is a very useful function, it returns a string based on a regex pattern and a index.

For example : 
{code:java}
regexp_extract('foothebar', 'foo(.*?)(bar)', 2) // returns 'bar.'

{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)