-
Notifications
You must be signed in to change notification settings - Fork 837
Closed
Labels
C-featureCategory: featureCategory: feature
Description
Summary
pretty useful aggregate function
Example
Input table:
┌─user─────┬─salary─┐
│ director │ 5000 │
│ manager │ 3000 │
│ worker │ 1000 │
└──────────┴────────┘
Query:
SELECT argMax(user, salary) FROM salary;Result:
┌─argMax(user, salary)─┐
│ director │
└──────────────────────┘
Query:
SELECT argMin(user, salary) FROM salary;Result:
┌─argMax(user, salary)─┐
│ worker │
└──────────────────────┘
BohuTANG and ZhiHanZ
Metadata
Metadata
Assignees
Labels
C-featureCategory: featureCategory: feature