You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Amir Youssefi (JIRA)" <ji...@apache.org> on 2008/04/19 00:22:21 UTC
[jira] Created: (PIG-214) PigStorage uses delimiter successfully on
Load but not Store
PigStorage uses delimiter successfully on Load but not Store
------------------------------------------------------------
Key: PIG-214
URL: https://issues.apache.org/jira/browse/PIG-214
Project: Pig
Issue Type: Bug
Reporter: Amir Youssefi
PigStorage uses delimiter successfully on Load but not Store example: PigStorage('\u0001'):
grunt> A = LOAD 'test.txt' AS (f1, f2, f3);
grunt> DUMP A;
(1, 2, 3)
(4, 2, 1)
(8, 3, 4)
(4, 3, 3)
(7, 2, 5)
(8, 4, 3)
grunt> STORE A INTO 'pig_test_datasets/PigStorage_tests/output' USING PigStorage('\u0001');
Output:
1\u00012\u00013
4\u00012\u00011
8\u00013\u00014
4\u00013\u00013
7\u00012\u00015
8\u00014\u00013
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PIG-214) PigStorage uses delimiter successfully
on Load but not Store
Posted by "Amir Youssefi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amir Youssefi resolved PIG-214.
-------------------------------
Resolution: Duplicate
Similar to PIG-85 so let's track it there.
> PigStorage uses delimiter successfully on Load but not Store
> ------------------------------------------------------------
>
> Key: PIG-214
> URL: https://issues.apache.org/jira/browse/PIG-214
> Project: Pig
> Issue Type: Bug
> Reporter: Amir Youssefi
>
> PigStorage uses delimiter successfully on Load but not Store example: PigStorage('\u0001'):
> grunt> A = LOAD 'test.txt' AS (f1, f2, f3);
> grunt> DUMP A;
>
> (1, 2, 3)
> (4, 2, 1)
> (8, 3, 4)
> (4, 3, 3)
> (7, 2, 5)
> (8, 4, 3)
>
>
> grunt> STORE A INTO 'pig_test_datasets/PigStorage_tests/output' USING PigStorage('\u0001');
> Output:
> 1\u00012\u00013
> 4\u00012\u00011
> 8\u00013\u00014
> 4\u00013\u00013
> 7\u00012\u00015
> 8\u00014\u00013
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.