druid/docs/querying
Adarsh Sanjeev 128133fadc
Add column replication_factor column to sys.segments table (#14403)
Description:
Druid allows a configuration of load rules that may cause a used segment to not be loaded
on any historical. This status is not tracked in the sys.segments table on the broker, which
makes it difficult to determine if the unavailability of a segment is expected and if we should
not wait for it to be loaded on a server after ingestion has finished.

Changes:
- Track replication factor in `SegmentReplicantLookup` during evaluation of load rules
- Update API `/druid/coordinator/v1metadata/segments` to return replication factor
- Add column `replication_factor` to the sys.segments virtual table and populate it in
`MetadataSegmentView`
- If this column is 0, the segment is not assigned to any historical and will not be loaded.
2023-06-18 10:02:21 +05:30
..
aggregations.md stringFirst and stringLast supported in ingestion (#12466) 2022-04-22 10:28:49 +08:00
caching.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
datasource.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
datasourcemetadataquery.md Refresh query docs. (#9704) 2020-04-15 16:12:20 -07:00
dimensionspecs.md Various documentation updates. (#13107) 2022-09-16 21:58:11 -07:00
filters.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
geo.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
granularities.md Advise against using WEEK granularity for Native Batch and MSQ (#14341) 2023-05-30 11:40:12 -07:00
groupbyquery.md document virtualColumns in native query documentation, fix some redirects (#12917) 2022-08-18 20:49:23 -07:00
having.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
hll-old.md De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
joins.md Sort-merge join and hash shuffles for MSQ. (#13506) 2023-03-08 14:19:39 -08:00
limitspec.md Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
lookups.md Fix value of lookup sync period in docs (#13695) 2023-02-01 18:12:00 -08:00
math-expr.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
multi-value-dimensions.md Various changes and fixes to UNNEST. (#13892) 2023-03-10 16:42:08 +05:30
multitenancy.md Addition to Multitenancy considerations doc (#12567) 2022-06-02 10:32:14 -07:00
nested-columns.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
post-aggregations.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
query-context.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
query-execution.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
querying.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
scan-query.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
searchquery.md document virtualColumns in native query documentation, fix some redirects (#12917) 2022-08-18 20:49:23 -07:00
segmentmetadataquery.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
select-query.md Add "offset" parameter to the Scan query. (#10233) 2020-08-13 14:56:24 -07:00
sorting-orders.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
sql-aggregations.md Tuple sketch SQL support (#13887) 2023-03-28 18:47:12 +05:30
sql-array-functions.md docs: add sql array functions to nav (#14361) 2023-06-01 16:45:27 -07:00
sql-data-types.md docs: remove the note about segments (#14161) 2023-05-31 16:37:19 -07:00
sql-functions.md docs: add sql array functions to nav (#14361) 2023-06-01 16:45:27 -07:00
sql-json-functions.md Various documentation updates. (#13107) 2022-09-16 21:58:11 -07:00
sql-metadata-tables.md Add column replication_factor column to sys.segments table (#14403) 2023-06-18 10:02:21 +05:30
sql-multivalue-string-functions.md docs: add sql array functions to nav (#14361) 2023-06-01 16:45:27 -07:00
sql-operators.md docs: clarify Java precision (#13671) 2023-03-15 11:43:41 -07:00
sql-query-context.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
sql-scalar.md NVL function docs update (#14169) 2023-04-27 11:17:21 -07:00
sql-translation.md Add more statement attributes to explain plan result. (#14391) 2023-06-12 19:18:02 +05:30
sql.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
timeboundaryquery.md Refresh query docs. (#9704) 2020-04-15 16:12:20 -07:00
timeseriesquery.md document virtualColumns in native query documentation, fix some redirects (#12917) 2022-08-18 20:49:23 -07:00
topnmetricspec.md Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
topnquery.md document virtualColumns in native query documentation, fix some redirects (#12917) 2022-08-18 20:49:23 -07:00
troubleshooting.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
using-caching.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
virtual-columns.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00