You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Prashant Kommireddi (JIRA)" <ji...@apache.org> on 2013/02/28 07:59:13 UTC

[jira] [Updated] (PIG-3211) Allow default Load/Store funcs to be configurable

     [ https://issues.apache.org/jira/browse/PIG-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prashant Kommireddi updated PIG-3211:
-------------------------------------

    Attachment: PIG-3211.patch

Changes made to LogicalPlanBuilder, Utils and TestLogicalPlanBuilder. 1 thing I would appreciate feedback on was regarding the classloader to use which I am picking up from PigContext at the moment.

2 new configs:

*pig.default.load.func* - default class to load for LoadFunc
*pig.default.store.func* - default class to load for StoreFunc

I have added test cases for both load and store. Also, I noticed there's a lot of ugliness in TestLogicalPlanBuilder which I don't want to clean up in this patch but probably should be done at a later point.
                
> Allow default Load/Store funcs to be configurable
> -------------------------------------------------
>
>                 Key: PIG-3211
>                 URL: https://issues.apache.org/jira/browse/PIG-3211
>             Project: Pig
>          Issue Type: New Feature
>    Affects Versions: 0.12
>            Reporter: Prashant Kommireddi
>            Assignee: Prashant Kommireddi
>             Fix For: 0.12
>
>         Attachments: PIG-3211.patch
>
>
> PigStorage is used by default when a Load/StoreFunc is not specified. It would be useful to make this configurable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira