ASF subversion and git services commented on ASTERIXDB-2305:

Commit c8ba268f7f0b2f0aa3ab6fdbd82b79852ff1ae65 in asterixdb's branch 
refs/heads/master from [~dlychagin-cb]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=c8ba268 ]

[ASTERIXDB-2305][FUN] replace() should not accept regular expressions

- user model changes: yes
- storage format changes: no
- interface changes: no

- replace() function was equivalent to regexp_replace(),
  both were based on regular expressions
- this change makes replace() function operate on plain strings
- regexp_replace() continues to operate on regular expressions

Change-Id: Ic01db334c2ef0cab5834cc161ee4f212cf2cb105
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2440
Reviewed-by: Till Westmann <ti...@apache.org>
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>

> replace() function should not accept regular expression patterns
> ----------------------------------------------------------------
>                 Key: ASTERIXDB-2305
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2305
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>          Components: FUN - Functions
>            Reporter: Dmitry Lychagin
>            Assignee: Dmitry Lychagin
>            Priority: Minor
> Currently replace() and regexp_replace() functions are equivalent. They both 
> accept regular expression patterns.
> We need to change replace() function to only accept plain strings. 
> The regexp_replace() function will not change (will continue to be based on 
> regular expressions)

This message was sent by Atlassian JIRA

Reply via email to