pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Kamath (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-54) built in aggregate functions fail on invalid input
Date Tue, 30 Sep 2008 20:37:44 GMT

     [ https://issues.apache.org/jira/browse/PIG-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Pradeep Kamath updated PIG-54:

        Fix Version/s: types_branch
             Assignee: Pradeep Kamath
    Affects Version/s: types_branch
               Status: Patch Available  (was: Open)

Attached patch

> built in aggregate functions fail on invalid input
> --------------------------------------------------
>                 Key: PIG-54
>                 URL: https://issues.apache.org/jira/browse/PIG-54
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Pradeep Kamath
>             Fix For: types_branch
>         Attachments: PIG-54.patch
> This issue is true for all built-in aggregate functions. If they get type different from
what they expect, they through an exception. Instead, they should treat the value as null.
We still need to define what that means in Pig but if we stick with SQL definition, all but
count(*) computations would ignore them.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message