You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Santhosh Srinivasan (JIRA)" <ji...@apache.org> on 2008/10/01 22:49:44 UTC

[jira] Created: (PIG-470) TextLoader returns string instead of a bytearray

TextLoader returns string instead of a bytearray
------------------------------------------------

                 Key: PIG-470
                 URL: https://issues.apache.org/jira/browse/PIG-470
             Project: Pig
          Issue Type: Bug
    Affects Versions: types_branch
            Reporter: Santhosh Srinivasan
            Assignee: Santhosh Srinivasan
             Fix For: types_branch


The TextLoader load function returns a string instead of bytearrays. By default, load functions should return bytearrays and Pig will then convert the bytearray into the appropriate Pig Types.

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


[jira] Resolved: (PIG-470) TextLoader returns string instead of a bytearray

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich resolved PIG-470.
--------------------------------

    Resolution: Fixed

patch committed. thank, santhosh

> TextLoader returns string instead of a bytearray
> ------------------------------------------------
>
>                 Key: PIG-470
>                 URL: https://issues.apache.org/jira/browse/PIG-470
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>             Fix For: types_branch
>
>         Attachments: PIG-470.patch
>
>
> The TextLoader load function returns a string instead of bytearrays. By default, load functions should return bytearrays and Pig will then convert the bytearray into the appropriate Pig Types.

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


[jira] Updated: (PIG-470) TextLoader returns string instead of a bytearray

Posted by "Santhosh Srinivasan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Santhosh Srinivasan updated PIG-470:
------------------------------------

    Patch Info: [Patch Available]

> TextLoader returns string instead of a bytearray
> ------------------------------------------------
>
>                 Key: PIG-470
>                 URL: https://issues.apache.org/jira/browse/PIG-470
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>             Fix For: types_branch
>
>         Attachments: PIG-470.patch
>
>
> The TextLoader load function returns a string instead of bytearrays. By default, load functions should return bytearrays and Pig will then convert the bytearray into the appropriate Pig Types.

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


[jira] Updated: (PIG-470) TextLoader returns string instead of a bytearray

Posted by "Santhosh Srinivasan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Santhosh Srinivasan updated PIG-470:
------------------------------------

    Attachment: PIG-470.patch

Attached patch, fixes the TextLoader to return data bytearray instead of string. All unit test cases pass.

> TextLoader returns string instead of a bytearray
> ------------------------------------------------
>
>                 Key: PIG-470
>                 URL: https://issues.apache.org/jira/browse/PIG-470
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>             Fix For: types_branch
>
>         Attachments: PIG-470.patch
>
>
> The TextLoader load function returns a string instead of bytearrays. By default, load functions should return bytearrays and Pig will then convert the bytearray into the appropriate Pig Types.

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