You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Lorand Bendig (JIRA)" <ji...@apache.org> on 2013/09/30 16:40:24 UTC
[jira] [Updated] (PIG-3444) CONCAT with 2+ input parameters fail
[ https://issues.apache.org/jira/browse/PIG-3444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lorand Bendig updated PIG-3444:
-------------------------------
Attachment: PIG-3444.patch
An attempt to address this issue.
In the EvalFunc::getArgToFuncMapping the last field of the schema can marked as a vararg field. (schema.setLastFieldSchemaVarArg(true)) .
The idea is that when the funcspec and input schema fields are compared for exact/best fit match, the last funcspec field is taken repeatedly (if it's of type vararg) when comparing with the next input schema field.
> CONCAT with 2+ input parameters fail
> ------------------------------------
>
> Key: PIG-3444
> URL: https://issues.apache.org/jira/browse/PIG-3444
> Project: Pig
> Issue Type: Bug
> Components: impl
> Reporter: Daniel Dai
> Attachments: PIG-3444.patch
>
>
> This is a continuation work of PIG-1420 since PIG-1420 is closed. Currently CONCAT fails with more than 2 parameters. The error message is:
> Could not infer the matching function for org.apache.pig.builtin.CONCAT as multiple or none of them fit
--
This message was sent by Atlassian JIRA
(v6.1#6144)