-
Notifications
You must be signed in to change notification settings - Fork 25k
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] fix array oob in IDGenerator and adjust format for mapping #41703
[ML] fix array oob in IDGenerator and adjust format for mapping #41703
Conversation
Pinging @elastic/ml-core |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -234,8 +234,8 @@ public void testDateHistogramPivot() throws Exception { | |||
|
|||
// we expect 21 documents as there shall be 21 days worth of docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit remove or update the comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lulz. Maybe I should just stop writing comments :D
run elasticsearch-ci/bwc |
…ent/elasticsearch into feature/ml-df-fix-oob-format-bugs
…tic#41703) * [ML] fix array oob in IDGenerator and adjust format for mapping * Update DataFramePivotRestIT.java
…tic#41703) * [ML] fix array oob in IDGenerator and adjust format for mapping * Update DataFramePivotRestIT.java
…) (#41717) * [ML] fix array oob in IDGenerator and adjust format for mapping * Update DataFramePivotRestIT.java
…tic#41703) * [ML] fix array oob in IDGenerator and adjust format for mapping * Update DataFramePivotRestIT.java
There are two bugs addressed here:
""
empty string). We should handle that scenario by not allowing the byte array to be emptydate_histogram
group by pivot, we do not consider it when we create the mapping. We should add their provided format as one of the possible formats for the resultingdate
field.closes #41694