You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2013/02/17 20:33:13 UTC

[jira] [Resolved] (DRILL-27) Implement Segment Reference Operator

     [ https://issues.apache.org/jira/browse/DRILL-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Nadeau resolved DRILL-27.
---------------------------------

    Resolution: Fixed
    
> Implement Segment Reference Operator
> ------------------------------------
>
>                 Key: DRILL-27
>                 URL: https://issues.apache.org/jira/browse/DRILL-27
>             Project: Apache Drill
>          Issue Type: New Feature
>            Reporter: Timothy Chen
>            Assignee: Jacques Nadeau
>              Labels: logical
>
> Segment (1)
> The segment operator is responsible for collecting all records that share the same values of the provided expressions and outputting them together as a single segment (or group) of data.  Each record of the output segment will have the same value for all provided expressions.  The segment operator will also output a segment key in the provided ref.  
> Optionally, a segment operator can receive an input segment key (within).  In this case, each output segment will be limited by the provided input segment. The segment operator is stable. This means that all records within a segment will appear in the order that they appeared in the input. There is no guarantee, however, about the order that inner segments will be output.
> { @id†: <opref>, op: “segment”, 
>   input†: <input>,
>   within*: <name>,
>   ref: <name>,
>   exprs: [<expr>,..., <expr>]
>   
> }

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