[ https://issues.apache.org/jira/browse/ASTERIXDB-2978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17434555#comment-17434555 ]
ASF subversion and git services commented on ASTERIXDB-2978: ------------------------------------------------------------ Commit 14cc098dd02b35c62fe0da80cccf507274731e2a in asterixdb's branch refs/heads/master from Dmitry Lychagin [ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=14cc098 ] [ASTERIXDB-2978][FUN] Fix substr1() handling of offset 0 - user model changes: no - storage format changes: no - interface changes: no Details: - Fix substr1(x,0) to return input string instead of null Change-Id: I5c313c163165f03b2c55d730438a2723f15dcc3d Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/13803 Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Reviewed-by: Dmitry Lychagin <dmitry.lycha...@couchbase.com> Reviewed-by: Ali Alsuliman <ali.al.solai...@gmail.com> > substr1(x,0) should return input string instead of null > ------------------------------------------------------- > > Key: ASTERIXDB-2978 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-2978 > Project: Apache AsterixDB > Issue Type: Bug > Components: FUN - Functions > Affects Versions: 0.9.6 > Reporter: Dmitry Lychagin > Assignee: Dmitry Lychagin > Priority: Minor > Fix For: 0.9.7 > > > Currently substr1(x,0) returns null, but it should return the input string > instead. -- This message was sent by Atlassian Jira (v8.3.4#803005)