[
https://issues.apache.org/jira/browse/TRAFODION-2353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15679010#comment-15679010
]
ASF GitHub Bot commented on TRAFODION-2353:
-------------------------------------------
GitHub user traflm opened a pull request:
https://github.com/apache/incubator-trafodion/pull/842
[TRAFODION-2353] support of the regexp operator
This is a required feature to support basic Regular Expression in Trafodion.
This work is following the design at
https://cwiki.apache.org/confluence/display/TRAFODION/Example+Enhancement%3A+Add+a+New+Built-in+Function
The difference is in this version, I didn't use Google's RE2, but use GNU
LibC's POSIX Regexp modules. The benefit is GUN libc is already installed and
it is very common, so no need to introduce a new dependency. GNU regexp follows
the POSIX regular expression, although others add more features on POSIX, but
this already support all basic regular expression syntax. If there are strong
requirement to support more Regular Expression syntax that GNU cannot support,
we can enhance it later.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/traflm/incubator-trafodion TRAFODION-2353
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/842.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #842
----
commit 05e19f260db4bb36700d0163d5121ad2fa2aff7c
Author: Liu Ming <[email protected]>
Date: 2016-11-16T07:52:33Z
[TRAFODION-2353] add Regexp support, iteration 1, changes in compiler
commit 4355adf59b8380c774e7ea471ee31b225eec936d
Author: Liu Ming <[email protected]>
Date: 2016-11-17T05:59:28Z
[TRAFODION-2353] initial execution part
commit 257a7a46426f279b35d3d00cc2be8089713bb5a0
Author: Liu Ming <[email protected]>
Date: 2016-11-19T03:48:58Z
[TRAFODION-2353] support of the regexp operator, execution and test case
----
> support of the regexp operator
> ------------------------------
>
> Key: TRAFODION-2353
> URL: https://issues.apache.org/jira/browse/TRAFODION-2353
> Project: Apache Trafodion
> Issue Type: New Feature
> Reporter: liu ming
> Assignee: liu ming
>
> It is desired to have REGEXP.
> Some initial researching already done in:
> https://cwiki.apache.org/confluence/display/TRAFODION/Example+Enhancement%3A+Add+a+New+Built-in+Function
> This JIRA is to add REGEXP operator, not including functions may required
> future, if required, related JIRA will be created.
> The good advice in the wiki is to do new features incrementally.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)