[
https://issues.apache.org/jira/browse/PIG-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202945#comment-13202945
]
Dmitriy V. Ryaboy commented on PIG-2517:
----------------------------------------
(however, you can use PigStorageSchema from piggybank, which does exist in 0.8.
It doesn't have globbing support, and may be inefficient when loading very
large numbers of files, but it's still very handy).
> PigStorage -schema option
> -------------------------
>
> Key: PIG-2517
> URL: https://issues.apache.org/jira/browse/PIG-2517
> Project: Pig
> Issue Type: Bug
> Environment: linux debian
> Reporter: Alessandro Finamore
> Attachments: A.txt, pig_1328647651097.log, test.pig
>
>
> I'm trying to use the -schema option of PigStorage.
> This is what I have in the pig script
> store line into '/path/to/file' using PigStorage('\t','-schema');
> This is the line related to the error
> 2012-02-07 18:58:31,889 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR
> 2999: Unexpected internal error. could not instantiate 'PigStorage' with
> arguments '[ , -schema]'
--
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