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

Some random changes #867

Closed
wants to merge 16 commits into from
Closed

Some random changes #867

wants to merge 16 commits into from

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

1 participant