[
https://issues.apache.org/jira/browse/PIG-2494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Malaska updated PIG-2494:
-----------------------------
Description:
I wanted to add two features to SequenceFileLoader.
1. I added a delimiter so it will act more like PigStorage, in that it
will Split the value if it is a type Text (chararray).
2. I added the option of the key being a NullWritable. I wanted to be
able to process my Hive files in both Hive and Pig, but because my Hive
sequence files have a NullWritable key I could not make this work with the
current implementation of SequenceFileLoader.
My change is attached to this Jiri Issue.
was:
I wanted to add two features to SequenceFileLoader.
1. I added a delimiter so it will act more like PigStorage, in that it
will Split the value if it is a type Text (chararray).
2. I added the option of the key being a NullWritable. I wanted to be
able to process my Hive files in both Hive and Pig, but because my Hive
sequence files have a NullWritable key I could not make this work with the
current implementation of SequenceFileLoader.
> Improvement to SequenceFileLoader (NullWritable and Delimiter)
> --------------------------------------------------------------
>
> Key: PIG-2494
> URL: https://issues.apache.org/jira/browse/PIG-2494
> Project: Pig
> Issue Type: Improvement
> Components: piggybank
> Affects Versions: 0.9.1
> Environment: All
> Reporter: Ted Malaska
> Priority: Minor
> Labels: newbie
> Attachments: SequenceFileLoader.java
>
>
> I wanted to add two features to SequenceFileLoader.
> 1. I added a delimiter so it will act more like PigStorage, in that it
> will Split the value if it is a type Text (chararray).
> 2. I added the option of the key being a NullWritable. I wanted to be
> able to process my Hive files in both Hive and Pig, but because my Hive
> sequence files have a NullWritable key I could not make this work with the
> current implementation of SequenceFileLoader.
> My change is attached to this Jiri Issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira