pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Jurney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-3157) Move LENGTH from Piggybank to builtin, make LENGTH work for multiple types similar to SIZE
Date Mon, 04 Feb 2013 19:34:13 GMT

    [ https://issues.apache.org/jira/browse/PIG-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570557#comment-13570557
] 

Russell Jurney commented on PIG-3157:
-------------------------------------

It could be an alias for SIZE. Two differences:

1) Occasionally SIZE() will complain of not being able to work on some types. Not sure whats
up, but LENGTH(chararray) works in these situations.
2) atm LENGTH only works for chararrays
                
> Move LENGTH from Piggybank to builtin, make LENGTH work for multiple types similar to
SIZE
> ------------------------------------------------------------------------------------------
>
>                 Key: PIG-3157
>                 URL: https://issues.apache.org/jira/browse/PIG-3157
>             Project: Pig
>          Issue Type: Improvement
>          Components: internal-udfs, piggybank
>    Affects Versions: 0.11
>            Reporter: Russell Jurney
>            Assignee: Russell Jurney
>             Fix For: 0.12
>
>
> LENGTH needs to be a builtin.

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

Mime
View raw message