[ https://issues.apache.org/jira/browse/PIG-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902201#action_12902201
]
Olga Natkovich commented on PIG-1563:
-------------------------------------
I think you just need to add the arg mapping function and the pig will insert the casts.
> SUBSTRING function is broken
> ----------------------------
>
> Key: PIG-1563
> URL: https://issues.apache.org/jira/browse/PIG-1563
> Project: Pig
> Issue Type: Bug
> Reporter: Olga Natkovich
> Assignee: Yan Zhou
> Fix For: 0.8.0
>
>
> Script:
> A = load 'studenttab10k' as (name, age, gpa);
> C = foreach A generate SUBSTRING(name, 0,5);
> E = limit C 10;
> dump E;
> Output is always empty:
> ()
> ()
> ()
> ()
> ()
> ()
> ()
> ()
> ()
> ()
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|