druid/docs
Pranav 20de7fd95a
Geo spatial interfaces (#16029)
This PR creates an interface for ImmutableRTree and moved the existing implementation to new class which represent 32 bit implementation (stores coordinate as floats). This PR makes the ImmutableRTree extendable to create higher precision implementation as well (64 bit).
In all spatial bound filters, we accept float as input which might not be accurate in the case of high precision implementation of ImmutableRTree. This PR changed the bound filters to accepts the query bounds as double instead of float and it is backward compatible change as it compares double to existing float values in RTree. Previously it was comparing input float to RTree floats which can cause precision loss, now it is little better as it compares double to float which is still not 100% accurate.
There are no changes in the way that we query spatial dimension today except input bound parsing. There is little improvement in string filter predicate which now parse double strings instead of float and compares double to double which is 100% accurate but string predicate is only called when we dont have spatial index.
With allowing the interface to extend ImmutableRTree, we allow to create high precision (HP) implementation and defines new search strategies to perform HP search Iterable<ImmutableBitmap> search(ImmutableDoubleNode node, Bound bound);
With possible HP implementations, Radius bound filter can not really focus on accuracy, it is calculating Euclidean distance in comparing. As EARTH 🌍 is round and not flat, Euclidean distances are not accurate in geo system. This PR adds new param called 'radiusUnit' which allows you to specify units like meters, km, miles etc. It uses https://en.wikipedia.org/wiki/Haversine_formula to check if given geo point falls inside circle or not. Added a test that generates set of points inside and outside in RadiusBoundTest.
2024-04-01 14:58:03 +05:30
..
api-reference Add versions to `markUsed` and `markUnused` APIs (#16141) 2024-03-19 09:22:25 -07:00
assets [Docs] Refactor streaming ingestion section (#15591) 2024-02-12 13:52:42 -08:00
comparisons remove ref to plywood repo (#12809) 2022-07-26 10:12:13 +08:00
configuration Update docs for rabbit community extension (#16069) 2024-03-07 11:29:53 -08:00
data-management Kill segments by versions (#15994) 2024-03-13 09:37:30 +05:30
design docs: mention acid-compliance for meta store (#16014) 2024-03-04 11:00:38 +08:00
development docs: clarify description of uri/uriprefix (#16110) 2024-03-13 11:52:01 -07:00
ingestion Populate segment stats for non-parallel compaction jobs (#16171) 2024-03-29 09:40:55 -04:00
misc Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
multi-stage-query Window function on msq (#15470) 2024-03-28 14:58:34 +05:30
operations Visibility into LagBased AutoScaler desired task count (#16199) 2024-03-27 13:08:00 -04:00
querying Geo spatial interfaces (#16029) 2024-04-01 14:58:03 +05:30
release-info docs: Add upgrade notes for Druid 29.0.0 (#16022) 2024-03-04 08:58:52 -08:00
tutorials [Docs] Improve the "Update existing data" tutorial (#16081) 2024-03-14 16:31:33 -07:00