[jira] Updated: (PIG-905) TOKENIZE throws exception on null data

2009-08-06 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-905:
---

Resolution: Fixed
Status: Resolved  (was: Patch Available)

Patch committed.

> TOKENIZE throws exception on null data
> --
>
> Key: PIG-905
> URL: https://issues.apache.org/jira/browse/PIG-905
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.3.0
>Reporter: Olga Natkovich
> Fix For: 0.4.0
>
> Attachments: PIG-905-1.patch, PIG-905-2.patch, PIG-905-3.patch
>
>
> it should just return null

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



[jira] Updated: (PIG-905) TOKENIZE throws exception on null data

2009-08-06 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-905:
---

Attachment: PIG-905-3.patch

Fix unit test

> TOKENIZE throws exception on null data
> --
>
> Key: PIG-905
> URL: https://issues.apache.org/jira/browse/PIG-905
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.3.0
>Reporter: Olga Natkovich
> Fix For: 0.4.0
>
> Attachments: PIG-905-1.patch, PIG-905-2.patch, PIG-905-3.patch
>
>
> it should just return null

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



[jira] Updated: (PIG-905) TOKENIZE throws exception on null data

2009-08-06 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-905:
---

Status: Patch Available  (was: Open)

> TOKENIZE throws exception on null data
> --
>
> Key: PIG-905
> URL: https://issues.apache.org/jira/browse/PIG-905
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.3.0
>Reporter: Olga Natkovich
> Fix For: 0.4.0
>
> Attachments: PIG-905-1.patch, PIG-905-2.patch, PIG-905-3.patch
>
>
> it should just return null

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



[jira] Updated: (PIG-905) TOKENIZE throws exception on null data

2009-08-06 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-905:
---

Status: Open  (was: Patch Available)

> TOKENIZE throws exception on null data
> --
>
> Key: PIG-905
> URL: https://issues.apache.org/jira/browse/PIG-905
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.3.0
>Reporter: Olga Natkovich
> Fix For: 0.4.0
>
> Attachments: PIG-905-1.patch, PIG-905-2.patch, PIG-905-3.patch
>
>
> it should just return null

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



[jira] Updated: (PIG-905) TOKENIZE throws exception on null data

2009-08-05 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-905:
---

Fix Version/s: 0.4.0
Affects Version/s: 0.3.0
   Status: Patch Available  (was: Open)

> TOKENIZE throws exception on null data
> --
>
> Key: PIG-905
> URL: https://issues.apache.org/jira/browse/PIG-905
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.3.0
>Reporter: Olga Natkovich
> Fix For: 0.4.0
>
> Attachments: PIG-905-1.patch, PIG-905-2.patch
>
>
> it should just return null

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



[jira] Updated: (PIG-905) TOKENIZE throws exception on null data

2009-08-05 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-905:
---

Attachment: PIG-905-2.patch

Address Olga's comments and add unit test

> TOKENIZE throws exception on null data
> --
>
> Key: PIG-905
> URL: https://issues.apache.org/jira/browse/PIG-905
> Project: Pig
>  Issue Type: Bug
>Reporter: Olga Natkovich
> Attachments: PIG-905-1.patch, PIG-905-2.patch
>
>
> it should just return null

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



[jira] Updated: (PIG-905) TOKENIZE throws exception on null data

2009-08-05 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-905:
---

Attachment: PIG-905-1.patch

Include null handling suggested by Olga. For Jeff's comment on DataByteArray, 
it is because TOKENIZE do not declare getArgToFuncMapping. If UDF declare 
getArgToFuncMapping, Pig can handle type cast correctly. I also include 
getArgToFuncMapping in the patch.

> TOKENIZE throws exception on null data
> --
>
> Key: PIG-905
> URL: https://issues.apache.org/jira/browse/PIG-905
> Project: Pig
>  Issue Type: Bug
>Reporter: Olga Natkovich
> Attachments: PIG-905-1.patch
>
>
> it should just return null

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