Thanks Yingyi for your prompt reply and help. w.r.t my question about documentation, I have been aware of the functions documentation and I have been using it. I was mainly looking for a place where keeps track of changes in functions in the sense that if function foo() is replaced with bar() the document captures the change (some sort of similar to deprecated functions in Java docs where it points you to the correct/newer function that needs to be used). However, I guess we do not have such a place and one really needs to keep an eye on the check-in changes list if he uses functions extensively.
Thanks again for your help and info. Pouria On Tue, Oct 11, 2016 at 11:45 PM, Yingyi Bu <buyin...@gmail.com> wrote: > Pouria, > > Here is the function documentation: > https://ci.apache.org/projects/asterixdb/sqlpp/builtins.html > > >> If yes, then what is regexp_contains@2 function ? > It checks if the first argument contains a regular expression pattern > defined by the second argument. > > >> Can matches@2 and regexp_contains@2 be used interchangeably ? > Yes, they're the same. > > Best, > Yingyi > > > On Tue, Oct 11, 2016 at 11:39 PM, Pouria Pirzadeh < > pouria.pirza...@gmail.com > > wrote: > > > Hi, > > > > Is reg-exp@2 function now renamed to (or replaced with) matches@2 ? > > If yes, then what is regexp_contains@2 function ? > > Can matches@2 and regexp_contains@2 be used interchangeably ? > > > > Is there a place (documentation) that captures such function changes ? It > > is painful as a query that has been working for 3 years against the > system, > > suddenly starts breaking after a binary update with an undefined function > > error. > > > > Thanks. > > Pouria > > >