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

Koji Noguchi commented on PIG-5201:
-----------------------------------

bq. This is PIG-2537, this is a bug we shall fix.

Thanks [~daijy].  Question.
PIG-2537 is about null Tuple.  
I'm not convinced that same should apply to null Bag.  (This is my question (1) 
above)  
(There is a separate question of whether runtime system can distinguish null 
bag to null tuple but let's put that aside.)

To me, if Flatten(empty-bag) is defined to drop, FLATTEN(null-bag) should also 
do the same.

As for my (2) FLATTEN(Bag-with-null), we probably want to follow whatever we're 
going to do in PIG-2537.

> Null handling on FLATTEN
> ------------------------
>
>                 Key: PIG-5201
>                 URL: https://issues.apache.org/jira/browse/PIG-5201
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Koji Noguchi
>            Assignee: Koji Noguchi
>            Priority: Minor
>         Attachments: pig-5201-v00-testonly.patch
>
>
> Sometimes, FLATTEN(null) or FLATTEN(bag-with-null) seem to produce incorrect 
> results.
> Test code/script to follow.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to