-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Fix flat_object long field error #13259
Fix flat_object long field error #13259
Conversation
❌ Gradle check result for 5aa3812: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for 5e00cb7: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
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.
What are the values of path
and currentFieldName
that we end up with in the changed code and what is that code trying to do? I am just wondering what the side effects of setting path
to blank are.
@msfroh take a look pls
^ |
Signed-off-by: naomichi-y <n.yamakita@gmail.com>
Signed-off-by: naomichi-y <n.yamakita@gmail.com>
Signed-off-by: naomichi-y <n.yamakita@gmail.com>
Signed-off-by: naomichi-y <n.yamakita@gmail.com>
❌ Gradle check result for 5c276f0: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: naomichi-y <n.yamakita@gmail.com>
5c276f0
to
4b58495
Compare
❌ Gradle check result for 4b58495: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
@msfroh |
org.opensearch.indices.store.IndicesStoreIntegrationIT.testShardActiveElseWhere {p0={"cluster.remote_store.state.enabled":"true"}} |
Please do open an issue or add a fix/test to this PR @naomichi-y. Appreciate it. I propose we get this change in first as is? @msfroh wdyt? |
I've opened a new issue. |
❌ Gradle check result for 4b58495: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Test Result (4 failures / +4) |
❕ Gradle check result for 4b58495: UNSTABLE
Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Thanks for tackling this, @naomichi-y! If you're willing to address the follow-up issue, that would be great! Please feel free to steal the unit test that I posted above. |
@naomichi-y @dblock @msfroh, It seems that in some case, null values will cause an infinite loop with this PR. I will fix it in the #14069, and make it merged as soon as possible. Example:
|
Description
Fixed an error
'Preview of field's value: 'null'
that occurred when using flat_object with long field names in OpenSearch version2.12
and later.Related Issues
#13184
Check List
New functionality has been documented.New functionality has javadoc addedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.