Comments (6)
Related with #100634
I'm closing as duplicate. It's not exactly the same issue I think, but it's part of it for sure
from elasticsearch.
median(const)
is already implemented, while percentile
still needs a corresponding MV_...
function to act as surrogate.
Not sure it's worth adding a validation for this, as implementing something like MV_PERCENTILE
(but not exposing it to users, internal usage only) may not be a whole lot more work.
from elasticsearch.
Pinging @elastic/es-analytical-engine (Team:Analytics)
from elasticsearch.
I'm not sure we should close this, #100634 is a request for enhancements while this one is an actual bug (error 500).
Waiting for #100634 to be fully supported, we should at least add some validation for these cases.
Interestingly, median(null)
works just fine, while percentile(null, 50)
throws an error
from elasticsearch.
I'm 50/50 here really. The aggs that don't fail, is because they have the surrogate, indeed. However, any agg with multiple parameters, that have a null in one of them but a non-foldable in the other, will fail.
For example, percentile can't really be fixed. We can't convert PERCENTILE(field, null)
to MV_PERCENTILE
, as field
is not foldable (At least not with the current methods, afaik). And it fails too.
So, we can reopen this if you think it's interesting
from elasticsearch.
Ah, I was thinking about percentile(null, 50)
, but this is indeed a different problem than percentile(some_field, null)
. The latter indeed should end up with an error thrown at validation time.
Re-opening, but I think we need to make the wording of this issue more precise.
from elasticsearch.
Related Issues (20)
- [CI] SearchProgressActionListenerIT testSearchProgressWithHits failing HOT 2
- [CI] MixedClusterEsqlSpecIT test {stats.Count_or_null SYNC} failing HOT 1
- [CI] ServiceUtilsTests testRemoveAsAdaptiveAllocationsSettings_exceptions failing HOT 2
- [CI] ServiceUtilsTests testRemoveAsAdaptiveAllocationsSettings failing HOT 2
- FrozenIndexShardTests.testRecoverFromFrozenPrimary fails with new Lucene snapshot HOT 3
- ESQL: Union types on agg functions HOT 4
- Report more detail of successful/failed channels in `ChannelsConnectedListener#onTimeout` HOT 1
- Improve the way we log hot threads HOT 1
- ESQL: improve BUCKET() in auto mode HOT 1
- ESQL: INLINESTATS followup HOT 2
- ESQL: Async request in txt mode returns empty body HOT 1
- ESQL: provide execution timing for async queries HOT 1
- [CI] PreallocateTests testPreallocate failing HOT 3
- [CI] VectorSystemPropertyTests testSystemPropertyDisabled failing HOT 5
- [CI] MixedClusterEsqlSpecIT test {stats.Count_or_null SYNC #2} failing HOT 3
- The logic of GeoIpDownloader#cleanDatabases() seems mistaken HOT 2
- Support indices created in 7.x with camelcase date format in rollups HOT 1
- Search responses with large size can cause OOMs HOT 2
- ESQL: Conflict between real and synthetic attribute names HOT 1
- [CI] EsqlNodeSubclassTests testTransform {class org.elasticsearch.xpack.esql.plan.physical.HashJoinExec} failing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticsearch.