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
[ML] Data frame transform silently fails if using min(timestamp) #39974
Comments
Pinging @elastic/ml-core |
Even though we allow the mapping type for Working on a fix as this could easily cause issues with other more complicated aggregations (not to mention when we start supporting pipeline aggregations). |
Did some local testing, it turns out that |
As the mappings are created correctly as Contemplating use cases, I suspect this is something that will be useful, for example:
It also provides a method by which to retire or exclude non-relevant data from the data frame. There are other ways to answer these questions, for example with support of scripts, but this seems neatest. |
@sophiec20 yeah, since the mapping is When determining the data to push to the new index, we should not lose what formatting is supplied given the originally aggregated type. This, to me, is bigger than just |
The idea with using When double values are turned into strings they are written using scientific notation if the value is larger than Interestingly
Aggregations on dates seem like a very old issue: #6812 |
For the record: No matter what you choose Solution: #40220 |
Found in master
"version" : { "number" : "8.0.0-SNAPSHOT", "build_flavor" : "default", "build_type" : "tar", "build_hash" : "4957cad", "build_date" : "2019-03-11T15:48:39.514013Z", "build_snapshot" : true,
When creating a data frame using min and max against a date field, the data frame is not populated, however the response from
_stats
implies it has worked. From a user perspective, the data frame silently fails to populate (although does log an error on the server)._stats
returns the following, which is the same as a successful data frame, i.e. one withoutmin_time
andmax_time
:Error in log:
The text was updated successfully, but these errors were encountered: