You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/09/13 23:06:00 UTC

[jira] [Commented] (ASTERIXDB-2634) Make string functions return NULL on mismatch

    [ https://issues.apache.org/jira/browse/ASTERIXDB-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16929590#comment-16929590 ] 

ASF subversion and git services commented on ASTERIXDB-2634:
------------------------------------------------------------

Commit d080314640aea94014c3aae9cb4985e243dced41 in asterixdb's branch refs/heads/master from Ali Alsuliman
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=d080314 ]

[ASTERIXDB-2634][COMP][RT] String functions to return NULL on mismatch

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

Details:
Make string functions return NULL on mismatch instead of raising
an exception and issue a warning.

- consolitated ExceptionUtil from org.apache.asterix.runtime.exceptions
into org.apache.asterix.om.exceptions.
- AbstractStringTypeComputer does not check arguments type now
  and does not throw mismatch exception.

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


> Make string functions return NULL on mismatch
> ---------------------------------------------
>
>                 Key: ASTERIXDB-2634
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2634
>             Project: Apache AsterixDB
>          Issue Type: Task
>          Components: COMP - Compiler, RT - Runtime
>    Affects Versions: 0.9.4
>            Reporter: Ali Alsuliman
>            Assignee: Ali Alsuliman
>            Priority: Major
>             Fix For: 0.9.5
>
>
> Make string functions return NULL on a mismatch and issue a warning.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)