-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Fix geo_line agg behavior with missing values #69395
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
Conversation
The geo_line aggregation incorrectly handled results with missing values. Tests to verify this behavior were incorrectly checking results. This commit resolves these in three ways - explicitely testing missing sort field values - explicitely testing handling missing point field values - explicitely testing handling mixed scenarios where some documents have one and not the other, or missing both. Fixes elastic/kibana#90653. Fixes elastic#69346.
|
Pinging @elastic/es-analytics-geo (Team:Analytics) |
1 similar comment
|
Pinging @elastic/es-analytics-geo (Team:Analytics) |
...l/src/main/java/org/elasticsearch/xpack/spatial/search/aggregations/GeoLineBucketedSort.java
Show resolved
Hide resolved
...l/src/main/java/org/elasticsearch/xpack/spatial/search/aggregations/GeoLineBucketedSort.java
Show resolved
Hide resolved
The geo_line aggregation incorrectly handled results with missing values. Tests to verify this behavior were incorrectly checking results. This commit resolves these in three ways - explicitly testing missing sort field values - explicitly testing handling missing point field values - explicitly testing handling mixed scenarios where some documents have one and not the other, or missing both. Fixes elastic/kibana#90653. Fixes #69346.
The geo_line aggregation incorrectly handled results with missing values. Tests to verify this behavior were incorrectly checking results. This commit resolves these in three ways - explicitly testing missing sort field values - explicitly testing handling missing point field values - explicitly testing handling mixed scenarios where some documents have one and not the other, or missing both. Fixes elastic/kibana#90653. Fixes #69346.
|
Hi @talevy, we're encountering what appears to be the issue this PR fixes, and we're running 7.12.1. Was this fix actually applied to 7.12.1? I see the label for 7.12.1 on this issue, but wanted to confirm. |
|
@andrewkcarter It looks like it actually made it to 7.12.0 and 7.12.1. I cannot reproduce the issue with reproduction in #69346 in neither. Would you mind sharing more information about the issue that you are seeing, preferably with updated reproduction script that fails in 7.12.1? |
The geo_line aggregation incorrectly handled results with missing values. Tests to verify this
behavior were incorrectly checking results. This commit resolves these in three ways
Fixes elastic/kibana#90653.
Fixes #69346.