You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2011/07/26 01:09:09 UTC

[jira] [Commented] (PIG-2168) CubeDimensions UDF

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

Thejas M Nair commented on PIG-2168:
------------------------------------

Patch looks good. A minor comment - Lists.newArrayListWithCapacity would be a better for this case, than Lists.newArrayListWithExpectedSize.  Lists.newArrayListWithExpectedSize adds padding, which is unnecessary in this case.


> CubeDimensions UDF
> ------------------
>
>                 Key: PIG-2168
>                 URL: https://issues.apache.org/jira/browse/PIG-2168
>             Project: Pig
>          Issue Type: Sub-task
>            Reporter: Dmitriy V. Ryaboy
>            Assignee: Dmitriy V. Ryaboy
>             Fix For: 0.10
>
>         Attachments: PIG-2168.patch
>
>
> A prerequisite for a naive cubing implementation:
> A UDF that, given a set of dimensions (a, b, c) generates all the points on the cube:
> (a, b, c), (a, b, null), (a, null, c), (null, b, c), (null, null, c), (a, null, null), (null, b, null), (null, null, null).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira