You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Brian Schrameck (JIRA)" <ji...@apache.org> on 2014/03/20 20:40:48 UTC
[jira] [Resolved] (PIG-3824) setUDFContextSignature() not called
for Store/LoadFunc in PigUnit
[ https://issues.apache.org/jira/browse/PIG-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Schrameck resolved PIG-3824.
----------------------------------
Resolution: Not A Problem
I missed the fact that there are separate setUDFContextSignature and setStoreFuncUDFContextSignature methods.
> setUDFContextSignature() not called for Store/LoadFunc in PigUnit
> -----------------------------------------------------------------
>
> Key: PIG-3824
> URL: https://issues.apache.org/jira/browse/PIG-3824
> Project: Pig
> Issue Type: Bug
> Components: tools
> Affects Versions: 0.11
> Environment: Windows 7 64-bit, Pig 0.11.0-cdh4.4.0, jdk1.6.0_45
> Reporter: Brian Schrameck
> Labels: test
>
> When writing a custom StoreFunc or LoadFunc, setUDFContextSignature is never called or it is called with a null value. For functions that rely on a valid signature, this results in broken functionality (for instance, can not store the schema between frontend and backend if you use signature.schema as the UDFContext key).
--
This message was sent by Atlassian JIRA
(v6.2#6252)