Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Conversation

@trzysiek
Copy link
Member

@trzysiek trzysiek commented Oct 9, 2024

No description provided.

trzysiek and others added 12 commits October 9, 2024 20:36
A couple of small enhancements here:
* During Kibana QA, I found out that it really happens a lot that in
`order by: some_other_aggregation`, this aggregation is not a direct
child, but some further descender in the aggregation tree, so added
support for it (before `order by: "agg1"` worked, now `order by:
"agg1>agg2>agg3"` also works (`agg2` is a child of `agg1`, `agg3` of
`agg2`, etc.)
* Before we had support for
a) `order by: "2"` (where `2` is a metric aggr with single value like
e.g. `avg`)
b) `order by: "2.10"` (where `2` is a `percentile[s|_ranks]` aggr, and
`10` is a percentile)
Here added also support for `2.count`, `2.std_deviation`, and other
stats from `stats` or `extended_stats` aggregations.
* Before we could only order by 1 expression, 2 or more weren't
supported. Fixed that.

Sorry for quite a big PR, but it turned out to be like that out of
necessity. E.g. I implemented the last point only because without it,
proper tests for previous points would need to be much larger 😆

---------

Co-authored-by: Jacek Migdal <[email protected]>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 25, 2024

Deploying quesma with  Cloudflare Pages  Cloudflare Pages

Latest commit: 05358fb
Status: ✅  Deploy successful!
Preview URL: https://857d9bdd.quesma.pages.dev
Branch Preview URL: https://some-random-changes.quesma.pages.dev

View logs

github-merge-queue bot pushed a commit that referenced this pull request Oct 31, 2024
Only few very minor changes need to still be ported from
#867
It's first of them.
@trzysiek trzysiek closed this Nov 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants