Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sort: Allow ordering on a per key basis #5203

Merged
merged 2 commits into from
Sep 3, 2024
Merged

sort: Allow ordering on a per key basis #5203

merged 2 commits into from
Sep 3, 2024

Conversation

mattnibs
Copy link
Collaborator

@mattnibs mattnibs commented Aug 5, 2024

Change the sort operator so that different ordering can be applied to each key in the sort.

Closes #4945

@mattnibs mattnibs force-pushed the sort-keys branch 19 times, most recently from febee87 to c8a3440 Compare August 6, 2024 19:12
@mattnibs mattnibs marked this pull request as ready for review August 6, 2024 19:12
@mattnibs mattnibs requested a review from a team August 6, 2024 19:12
compiler/ast/dag/expr.go Outdated Show resolved Hide resolved
order/sortkey.go Outdated Show resolved Hide resolved
compiler/semantic/op.go Outdated Show resolved Hide resolved
@mattnibs mattnibs force-pushed the sort-keys branch 3 times, most recently from 4a4c6eb to df709ac Compare August 16, 2024 21:41
compiler/parser/parser.peg Outdated Show resolved Hide resolved
compiler/parser/parser.peg Outdated Show resolved Hide resolved
compiler/parser/parser.peg Outdated Show resolved Hide resolved
compiler/parser/parser.peg Show resolved Hide resolved
compiler/semantic/op.go Outdated Show resolved Hide resolved
compiler/semantic/op.go Outdated Show resolved Hide resolved
order/sortkey.go Outdated Show resolved Hide resolved
order/sortkey.go Show resolved Hide resolved
order/sortkey.go Outdated Show resolved Hide resolved
python/zed/zed.py Outdated Show resolved Hide resolved
@mattnibs mattnibs force-pushed the sort-keys branch 2 times, most recently from d164d8f to dd4678d Compare August 30, 2024 03:38
Change the sort operator so that different ordering can be applied to
each key in the sort.

Closes #4945
@mattnibs mattnibs merged commit 17e513f into main Sep 3, 2024
3 checks passed
@mattnibs mattnibs deleted the sort-keys branch September 3, 2024 17:50
This was referenced Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sort with per-key order
2 participants