hadoop-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] Commented: (PIG-336) NULL checks are not in place in the types branch
Date Sun, 27 Jul 2008 08:16:31 GMT

    [ https://issues.apache.org/jira/browse/PIG-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617255#action_12617255
] 

Pradeep Kamath commented on PIG-336:
------------------------------------

One thing I noticed while working on fixing null issues in arithmetic operations is currently
the return type for Integer multiplication and addition is an Integer.This could give wrong
results when the integers are big and the multiplication results in a value which cannot be
stored in an integer - Should the result be a Long?

> NULL checks are not in place in the types branch
> ------------------------------------------------
>
>                 Key: PIG-336
>                 URL: https://issues.apache.org/jira/browse/PIG-336
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Pradeep Kamath
>            Assignee: Pradeep Kamath
>             Fix For: types_branch
>
>         Attachments: PIG-336.patch
>
>
> The following code currently does not work
> {code}
> B = filter A by $0 is null and $1 is null;
> {code}
> Some other things which don't work with nulls include POAND, POOR etc

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


Mime
View raw message