Dmitry Lychagin created ASTERIXDB-2442:
------------------------------------------

             Summary: substring() should return NULL if starting offset is out 
of bounds or length is negative
                 Key: ASTERIXDB-2442
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2442
             Project: Apache AsterixDB
          Issue Type: Improvement
            Reporter: Dmitry Lychagin
            Assignee: Dmitry Lychagin


substring() should return NULL in the following cases:

1) if starting offset is out of bounds for given string, including the case 
when the starting offset is negative and therefore counted backwards from the 
length of the string.

2) if length is negative



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to