Skip to content

Commit

Permalink
Bring back capability because the mixed-cluster tests failed on the c…
Browse files Browse the repository at this point in the history
…hange in meaning

Of some int values in the block, particularly those that mean unset or infinity.
  • Loading branch information
craigtaverner committed Jan 10, 2025
1 parent 6a7e517 commit 49e912a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,8 @@ POINT (42.97109629958868 14.7552534006536) | 1

stExtentSingleGeoPoint
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues

ROW point = TO_GEOPOINT("POINT(42.97109629958868 14.7552534006536)")
| STATS extent = ST_EXTENT_AGG(point)
;
Expand All @@ -534,6 +536,8 @@ BBOX(42.97109629958868, 42.97109629958868, 14.7552534006536, 14.7552534006536)

stExtentMultipleGeoPoints
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues

// tag::st_extent_agg-airports[]
FROM airports
| WHERE country == "India"
Expand All @@ -549,6 +553,7 @@ BBOX (70.77995480038226, 91.5882289968431, 33.9830909203738, 8.47650992218405)

stExtentMultipleGeoPointsCount
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues

FROM airports
| WHERE country == "India"
Expand All @@ -561,6 +566,7 @@ BBOX (70.77995480038226, 91.5882289968431, 33.9830909203738, 8.47650992218405) |

stExtentMultipleGeoPointsCountNoDocValues
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues

FROM airports_no_doc_values
| WHERE country == "India"
Expand All @@ -573,6 +579,7 @@ BBOX (70.77995480038226, 91.5882289968431, 33.9830909203738, 8.47650992218405) |

stExtentMultipleGeoPointGrouping
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues

FROM airports
| STATS extent = ST_EXTENT_AGG(location), count = COUNT() BY country
Expand All @@ -590,6 +597,7 @@ BBOX (-135.07621010765433, -52.743333745747805, 63.751152316108346, 43.163360520

stExtentGeoShapes
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues

FROM airport_city_boundaries
| WHERE region == "City of New York"
Expand All @@ -602,6 +610,7 @@ BBOX (-74.25880000926554, -73.70020005851984, 40.91759996954352, 40.476599964313

stExtentGeoPoints
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues

FROM airport_city_boundaries
| WHERE region == "City of New York"
Expand All @@ -614,6 +623,7 @@ BBOX (-73.92490002326667, -73.92490002326667, 40.69429999217391, 40.694299992173

stExtentGeoShapesAndPoints
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues

FROM airport_city_boundaries
| WHERE region == "City of New York"
Expand All @@ -626,6 +636,7 @@ BBOX (-74.25880000926554, -73.70020005851984, 40.91759996954352, 40.476599964313

stExtentGeoShapesGrouped
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues

FROM airport_city_boundaries
| WHERE region == "City of New York"
Expand All @@ -643,6 +654,7 @@ L | BBOX (-74.25880000926554, -73.70020005851984, 40.91759996954352

stExtentGeoPointsGrouped
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues

FROM airport_city_boundaries
| WHERE region == "City of New York"
Expand All @@ -660,6 +672,7 @@ L | BBOX (-73.92490002326667, -73.92490002326667, 40.69429999217391

stExtentGeoShapesAndPointsGrouped
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues

FROM airport_city_boundaries
| WHERE region == "City of New York"
Expand All @@ -677,6 +690,7 @@ L | BBOX (-74.25880000926554, -73.70020005851984, 40.91759996954352

stExtentManyGeoShapesGrouped
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues
required_capability: enrich_load

FROM airport_city_boundaries
Expand All @@ -695,6 +709,7 @@ C | BBOX (-107.51820000819862, 172.6055999379605, 55.73269999120384

stExtentManyGeoPointsGrouped
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues
required_capability: enrich_load

FROM airport_city_boundaries
Expand All @@ -713,6 +728,7 @@ C | BBOX (-107.39390007220209, 172.38329996354878, 55.6760999746620

stExtentManyGeoShapesAndPointsGrouped
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues
required_capability: enrich_load

FROM airport_city_boundaries
Expand All @@ -731,6 +747,7 @@ C | BBOX (-107.51820000819862, 172.6055999379605, 55.73269999120384

stExtentManyGeoShapesGroupedEnrich
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues
required_capability: enrich_load

FROM airports
Expand All @@ -750,6 +767,7 @@ B | 69 | BBOX (-116.51340007781982, 153.2021999359131, 60.6

stExtentManyGeoPointsGroupedEnrich
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues
required_capability: enrich_load

FROM airports
Expand All @@ -769,6 +787,7 @@ B | 69 | BBOX (-116.23080002143979, 153.02809992805123, 60.

stExtentManyGeoShapesAndPointsGroupedEnrich
required_capability: st_extent_agg
required_capability: st_extent_agg_docvalues
required_capability: enrich_load

FROM airports
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,12 @@ public enum Cap {
*/
ST_DISTANCE,

/** Support for function {@code ST_EXTENT}. */
/** Support for function {@code ST_EXTENT_AGG}. */
ST_EXTENT_AGG,

/** Optimization of ST_EXTENT_AGG with doc-values as IntBlock. */
ST_EXTENT_AGG_DOCVALUES,

/**
* Fix determination of CRS types in spatial functions when folding.
*/
Expand Down

0 comments on commit 49e912a

Please sign in to comment.