pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaurav Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-1355) [Zebra] Zebra Multiple Outputs should enable application to skip records
Date Mon, 05 Apr 2010 22:40:27 GMT

    [ https://issues.apache.org/jira/browse/PIG-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853574#action_12853574

Gaurav Jain commented on PIG-1355:

BasicTableOutputFormat supports both Single and Multi output mode.

If multi output mode is not set, every record will be written to a table.

-1 is treated specially to skip records multi mode

> [Zebra]  Zebra Multiple Outputs should enable application to skip records
> -------------------------------------------------------------------------
>                 Key: PIG-1355
>                 URL: https://issues.apache.org/jira/browse/PIG-1355
>             Project: Pig
>          Issue Type: Improvement
>          Components: impl
>    Affects Versions: 0.8.0
>            Reporter: Gaurav Jain
>            Assignee: Gaurav Jain
>            Priority: Minor
>             Fix For: 0.8.0
> Applications may not always want to write a record to a table. Zebra should allow application
to do the same.
> Zebra Mutipile Outputs interface allow users to stream data to different tables by inspecting
the data Tuple. 
> https://issues.apache.org/jira/browse/PIG-1111
> So,
> If ZebraOutputPartition returns -1, Zebra Multiple Outputs will skip that record and
thus will not write to any table
> However, Zebra BasicTableOutputFormat ( different from Zebra Multiple Outputs ) will
write every record to a table

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

View raw message