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

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

bq. It is hard for me to see empty and null as same.

We defined FLATTEN(empty-bag) to drop since "Crossing a set S with the empty 
set results in the empty set.". 
To be consistent, FLATTEN(null-bag) should behave the same.

Anyways, we can continue the discussion once you're back next month.  Let's 
keep the jira open till then.

> 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, pig-5201-v01.patch, 
> pig-5201-v02.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