osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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 & 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)