Skip to content

[FEATURE] Enhance dedup PPL command with sortby option #4039

Open

Description

@ykmr1224

Add sortby option to dedup PPL command to make it easy to sort the result.
When sortby option is specified, the input rows should be sorted before dedup. (equivalent to put sort command before dedup command)

Syntax:
dedup ...(other params) <sort-by-clause>

<sort-by-clause>
Syntax: sortby ( - | + ) <sort-field> [(- | +) <sort_field> ...]

Example:
dedup user sortby -_time

Priority: Low (Expecting lower usage and can be done with separate sort command)

Activity

  1. added
    enhancement
    PPL
    calcite
    on Aug 14, 2025
  2. moved this from Not Started to In progress in PPL Trackeron Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

PPLPriority-Lowcalciteenhancement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions