Apache Drill
  1. Apache Drill
  2. DRILL-27

Implement Segment Reference Operator

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0-m1
    • Component/s: None
    • Labels:

      Description

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

        Activity

        Timothy Chen created issue -
        Hide
        Jacques Nadeau added a comment -

        You should be able to start with the current group operator as reference. That one is overly complex because it tries to manage sub groupings separately. The requirements of this operator are slightly simpler. Only one grouping needs to be generated.

        Show
        Jacques Nadeau added a comment - You should be able to start with the current group operator as reference. That one is overly complex because it tries to manage sub groupings separately. The requirements of this operator are slightly simpler. Only one grouping needs to be generated.
        Timothy Chen made changes -
        Field Original Value New Value
        Assignee Timothy Chen [ tnachen ]
        Timothy Chen made changes -
        Assignee Timothy Chen [ tnachen ] Jacques Nadeau [ jnadeau ]
        Hide
        Jacques Nadeau added a comment -

        in 6e4a138 commit in master

        Show
        Jacques Nadeau added a comment - in 6e4a138 commit in master
        Jacques Nadeau made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Jake Farrell made changes -
        Workflow jira [ 12759249 ] no-reopen-closed, patch-avail [ 12807514 ]
        Jacques Nadeau made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jacques Nadeau made changes -
        Target Version/s M1 [ 12324669 ]
        Fix Version/s M1 [ 12324669 ]
        Jake Farrell made changes -
        Workflow no-reopen-closed, patch-avail [ 12807514 ] no-reopen-closed, patch-avail, testing [ 12860476 ]
        Tony Stevenson made changes -
        Workflow no-reopen-closed, patch-avail, testing [ 12860476 ] Drill workflow [ 12935699 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        16d 12h 51m 1 Jacques Nadeau 17/Feb/13 19:31
        Resolved Resolved Closed Closed
        233d 22h 33m 1 Jacques Nadeau 09/Oct/13 19:05

          People

          • Assignee:
            Jacques Nadeau
            Reporter:
            Timothy Chen
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development