You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (Created) (JIRA)" <ji...@apache.org> on 2011/10/28 20:19:32 UTC

[jira] [Created] (PIG-2337) Provide UDF with input schema

Provide UDF with input schema
-----------------------------

                 Key: PIG-2337
                 URL: https://issues.apache.org/jira/browse/PIG-2337
             Project: Pig
          Issue Type: Improvement
            Reporter: Olga Natkovich
            Assignee: xuting zhao


We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Updated] (PIG-2337) Provide UDF with input schema

Posted by "xuting zhao (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

xuting zhao updated PIG-2337:
-----------------------------

    Attachment: PIG-2337-3.patch
    
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337-2.patch, PIG-2337-3.patch, PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Updated] (PIG-2337) Provide UDF with input schema

Posted by "xuting zhao (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

xuting zhao updated PIG-2337:
-----------------------------

    Attachment: PIG-2337-2.patch
    
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337-2.patch, PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Commented] (PIG-2337) Provide UDF with input schema

Posted by "xuting zhao (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143802#comment-13143802 ] 

xuting zhao commented on PIG-2337:
----------------------------------

1.The test-commit has been run successfully with this patch
2.An e2e test has been added
                
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337-2.patch, PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Commented] (PIG-2337) Provide UDF with input schema

Posted by "Daniel Dai (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146031#comment-13146031 ] 

Daniel Dai commented on PIG-2337:
---------------------------------

Everything looks right now. Will commit once tests pass.
                
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337-2.patch, PIG-2337-3.patch, PIG-2337-4.patch, PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Commented] (PIG-2337) Provide UDF with input schema

Posted by "Daniel Dai (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146003#comment-13146003 ] 

Daniel Dai commented on PIG-2337:
---------------------------------

Patch looks good. jsFunction seems to be a perfect candidate to use this new infrastructure. I would suggest to do that in this patch as well (And also we can reclaim the name they stole :))
                
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337-2.patch, PIG-2337-3.patch, PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Commented] (PIG-2337) Provide UDF with input schema

Posted by "xuting zhao (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146028#comment-13146028 ] 

xuting zhao commented on PIG-2337:
----------------------------------

Hi Daniel,

  I have modified the jsFunction and changed the functions names in EvalFunc to getInputSchema() and setInputSchema(). test-commit and e2e test on the new test case: UDFContextAuto have been successfully run.

Xuting
                
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337-2.patch, PIG-2337-3.patch, PIG-2337-4.patch, PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Commented] (PIG-2337) Provide UDF with input schema

Posted by "xuting zhao (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142283#comment-13142283 ] 

xuting zhao commented on PIG-2337:
----------------------------------

Hi Daniel,
   I includes those modification in 2338 in this patch. I am not sure if I need to seperate them or put them together. Thanks.
                
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Commented] (PIG-2337) Provide UDF with input schema

Posted by "Daniel Dai (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138652#comment-13138652 ] 

Daniel Dai commented on PIG-2337:
---------------------------------

Currently, if users want input schema for EvalFunc, they need to do it themselves:
1. In front end, serialize the schema and put in UDFContext in method outputSchema
2. In the backend, deserialize the schema from UDFContext.

The sample use case can be found in TestSchema.InputSchemaUDF (https://svn.apache.org/repos/asf/pig/trunk/test/org/apache/pig/test/TestSchema.java)

This process is quite involved and we shall to do it automatically. This involves:
1. In front end, we serialize the schema and put in UDFContext for every EvalFunc
2. In the backend, deserialize the schema for every EvalFunc
3. User can use EvalFunc.getSchema() to retrieve input schema for this EvalFunc

To do this, we need a unique signature for EvalFunc so we can use it as a key to store to/retrieve from UDFContext. This mechanism is not there yet and it is tracked in PIG-2338
                
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Commented] (PIG-2337) Provide UDF with input schema

Posted by "Daniel Dai (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141981#comment-13141981 ] 

Daniel Dai commented on PIG-2337:
---------------------------------

You will need to wait PIG-2338 check in, right?
                
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Updated] (PIG-2337) Provide UDF with input schema

Posted by "Daniel Dai (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Dai updated PIG-2337:
----------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

Unit test pass. Test-patch result:
     [exec] -1 overall.  
     [exec] 
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec] 
     [exec]     +1 tests included.  The patch appears to include 10 new or modified tests.
     [exec] 
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.
     [exec] 
     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
     [exec] 
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.
     [exec] 
     [exec]     -1 release audit.  The applied patch generated 468 release audit warnings (more than the trunk's current 461 warnings).

No new file added, ignore release audit warning.

Patch committed to trunk. Thanks Xuting!
                
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337-2.patch, PIG-2337-3.patch, PIG-2337-4.patch, PIG-2337-5.patch, PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Updated] (PIG-2337) Provide UDF with input schema

Posted by "xuting zhao (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

xuting zhao updated PIG-2337:
-----------------------------

    Attachment: PIG-2337.patch
    
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Commented] (PIG-2337) Provide UDF with input schema

Posted by "xuting zhao (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145738#comment-13145738 ] 

xuting zhao commented on PIG-2337:
----------------------------------

Thanks for this comments.
The 2337-3.patch is the modified one. The changes including:
1. moving the store and retrieve actions of signature into UserFuncExpression and POUserFunc.
2. changing the prefix of the key to: "pig.evalfunc.inputshcmea."
3. adding javadoc into the getEFInputSchema.
4. I tried to change the function name of autoGetInputSchema and autoSetInputSchema to getInputSchema and setInputSchema. However, there seems some function in the jsFunction with the same name: private Schema getInputSchema(),private Schema setInputSchema(). So if I change to that name, there will be an error. As a result, I changed them to setEFInputSchema and getEFInputSchema()

ant commit-test and e2e test on the new test case: UDFContextAuto have been successfully run.
                
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337-2.patch, PIG-2337-3.patch, PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Updated] (PIG-2337) Provide UDF with input schema

Posted by "xuting zhao (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

xuting zhao updated PIG-2337:
-----------------------------

    Attachment: PIG-2337-4.patch
    
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337-2.patch, PIG-2337-3.patch, PIG-2337-4.patch, PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Commented] (PIG-2337) Provide UDF with input schema

Posted by "Daniel Dai (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145158#comment-13145158 ] 

Daniel Dai commented on PIG-2337:
---------------------------------

Thanks for the patch. Couple of comments:
1. You cannot put logic in EvalFunc.setUDFContextSignature() and EvalFunc.getUDFContextSignature(), user might override it. So don't save signature in EvalFunc. You can do the serialization in UserFuncExpression.getFieldSchema (You are quite there, except you need to use the signature in UserFuncExpression). You can do the deserialization in POUserFunc.instantiateFunc
2. prefix for the key:"pig.evalfunc.signature", better be "pig.evalfunc.inputschema"
3. method name "autoGetInputSchema", better "getInputSchema", "autoSetInputSchema", better "setInputSchema"
4. getInputSchema is user facing, should add some javadoc
                
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337-2.patch, PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Updated] (PIG-2337) Provide UDF with input schema

Posted by "Daniel Dai (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Dai updated PIG-2337:
----------------------------

    Attachment: PIG-2337-5.patch

PIG-2337-5.patch include some minor change in javadoc.
                
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337-2.patch, PIG-2337-3.patch, PIG-2337-4.patch, PIG-2337-5.patch, PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Updated] (PIG-2337) Provide UDF with input schema

Posted by "xuting zhao (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

xuting zhao updated PIG-2337:
-----------------------------

    Status: Patch Available  (was: Open)
    
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Updated] (PIG-2337) Provide UDF with input schema

Posted by "Olga Natkovich (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-2337:
--------------------------------

    Fix Version/s: 0.11
    
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Commented] (PIG-2337) Provide UDF with input schema

Posted by "xuting zhao (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141960#comment-13141960 ] 

xuting zhao commented on PIG-2337:
----------------------------------

1.test-commit has been successfully run on this patch.
2.Unit test has been added in the TestSchema.java as testAutoSchemaSerialization()
                
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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

        

[jira] [Commented] (PIG-2337) Provide UDF with input schema

Posted by "Daniel Dai (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142321#comment-13142321 ] 

Daniel Dai commented on PIG-2337:
---------------------------------

Should be separate. I will try to commit PIG-2338 ASAP. So you can regenerate the patch.
                
> Provide UDF with input schema
> -----------------------------
>
>                 Key: PIG-2337
>                 URL: https://issues.apache.org/jira/browse/PIG-2337
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>            Assignee: xuting zhao
>             Fix For: 0.11
>
>         Attachments: PIG-2337.patch
>
>
> We have several requests to make input schema available to the UDF for inspection. 

--
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