Apache Drill
  1. Apache Drill
  2. DRILL-27

Implement Segment Reference Operator


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


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


        Jake Farrell made changes -
        Workflow no-reopen-closed, patch-avail [ 12807514 ] no-reopen-closed, patch-avail, testing [ 12860476 ]
        Jacques Nadeau made changes -
        Target Version/s M1 [ 12324669 ]
        Fix Version/s M1 [ 12324669 ]
        Jacques Nadeau made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jake Farrell made changes -
        Workflow jira [ 12759249 ] no-reopen-closed, patch-avail [ 12807514 ]
        Jacques Nadeau made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Timothy Chen made changes -
        Assignee Timothy Chen [ tnachen ] Jacques Nadeau [ jnadeau ]
        Timothy Chen made changes -
        Field Original Value New Value
        Assignee Timothy Chen [ tnachen ]
        Timothy Chen created issue -


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


            • Created: