File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/spatial Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 71
71
- class : org.elasticsearch.nativeaccess.VectorSystemPropertyTests
72
72
method : testSystemPropertyDisabled
73
73
issue : https://github.com/elastic/elasticsearch/issues/110949
74
- - class : org.elasticsearch.xpack.esql.spatial.SpatialPushDownGeoPointIT
75
- method : testPushedDownQueriesSingleValue
76
- issue : https://github.com/elastic/elasticsearch/issues/111084
77
74
- class : org.elasticsearch.multi_node.GlobalCheckpointSyncActionIT
78
75
issue : https://github.com/elastic/elasticsearch/issues/111124
79
76
- class : org.elasticsearch.cluster.PrevalidateShardPathIT
Original file line number Diff line number Diff line change 7
7
8
8
package org .elasticsearch .xpack .esql .spatial ;
9
9
10
+ import org .apache .lucene .geo .GeoEncodingUtils ;
10
11
import org .elasticsearch .geo .GeometryTestUtils ;
11
12
import org .elasticsearch .geometry .Geometry ;
12
13
13
14
public class SpatialPushDownGeoPointIT extends SpatialPushDownTestCase {
14
15
16
+ private static final double LAT_MAX_VALUE = GeoEncodingUtils .decodeLatitude (Integer .MAX_VALUE - 3 );
17
+
15
18
@ Override
16
19
protected String fieldType () {
17
20
return "geo_point" ;
18
21
}
19
22
20
23
@ Override
21
24
protected Geometry getIndexGeometry () {
22
- return GeometryTestUtils .randomPoint ();
25
+ // This is to overcome lucene bug https://github.com/apache/lucene/issues/13703.
26
+ // Once it is fixed we can remove this workaround.
27
+ return randomValueOtherThanMany (p -> p .getLat () >= LAT_MAX_VALUE , GeometryTestUtils ::randomPoint );
23
28
}
24
29
25
30
@ Override
You can’t perform that action at this time.
0 commit comments