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 2020/01/28 20:33:00 UTC

[jira] [Commented] (ASTERIXDB-2690) Sum aggregate throws an exception for invalid values

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

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

Commit fb1431d2ed148c70cae268aa0db4f5445b4098cd in asterixdb's branch refs/heads/master from Hussain Towaileb
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=fb1431d ]

[ASTERIXDB-2690][FUN] Agg Sum: skip and warn for invalid values

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

Details:
- Currently, the aggregate sum function throws an exception
  when an invalid (non-numeric but not null or missing) value
  is encountered, this patch changes the behavior to skip
  the invalid value (treat it as null) and issue a warning.

Change-Id: Ia7cde094302331d8f37670b4e6c6ce894d549154
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/4603
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Hussain Towaileb <hu...@gmail.com>
Reviewed-by: Ali Alsuliman <al...@gmail.com>


> Sum aggregate throws an exception for invalid values
> ----------------------------------------------------
>
>                 Key: ASTERIXDB-2690
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2690
>             Project: Apache AsterixDB
>          Issue Type: Task
>          Components: FUN - Functions
>    Affects Versions: 0.9.4.1
>            Reporter: Hussain Towaileb
>            Assignee: Hussain Towaileb
>            Priority: Major
>             Fix For: 0.9.5
>
>
> Currently, the aggregate sum function throws an exception when an invalid (non-numeric but not null or missing) value is encountered, this needs to change to skip the invalid value (treat it as null) and issue a warning.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)