druid/docs/querying
Gian Merlino 65a1375b67
SQL: Add is_active to sys.segments, update examples and docs. (#11550)
* SQL: Add is_active to sys.segments, update examples and docs.

is_active is short for:

  (is_published = 1 AND is_overshadowed = 0) OR is_realtime = 1

It's important because this represents "all the segments that should
be queryable, whether or not they actually are right now". Most of the
time, this is the set of segments that people will want to look at.

The web console already adds this filter to a lot of its queries,
proving its usefulness.

This patch also reworks the caveat at the bottom of the sys.segments
section, so its information is mixed into the description of each result
field. This should make it more likely for people to see the information.

* Wording updates.

* Adjustments for spellcheck.

* Adjust IT.
2022-05-19 14:23:28 -07:00
..
aggregations.md stringFirst and stringLast supported in ingestion (#12466) 2022-04-22 10:28:49 +08:00
caching.md Docs - query caching (#11584) 2022-04-18 17:00:21 +08:00
datasource.md Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
datasourcemetadataquery.md Refresh query docs. (#9704) 2020-04-15 16:12:20 -07:00
dimensionspecs.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
filters.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
granularities.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
groupbyquery.md Reduce allocations due to Jackson serialization. (#12468) 2022-04-27 14:17:26 -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 Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
limitspec.md Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
lookups.md Clarify the use of the Lookup API (#12088) 2022-05-16 07:50:24 -07:00
multi-value-dimensions.md Adding new config for disabling group by on multiValue column (#12253) 2022-02-16 20:53:26 +05:30
multitenancy.md cleaning up and fixing links (#10528) 2020-12-17 13:37:43 -08:00
post-aggregations.md Document expression post-aggregators (#11896) 2022-04-19 10:36:19 +08:00
query-context.md Enable vectorized virtual column processing by default. (#12520) 2022-05-16 15:43:53 +05:30
query-execution.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
querying.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
scan-query.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
searchquery.md fix desc of 'required' for granularity property (#10616) 2020-12-01 18:29:51 -08: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 Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
sql-api.md Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
sql-data-types.md Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
sql-jdbc.md Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
sql-metadata-tables.md SQL: Add is_active to sys.segments, update examples and docs. (#11550) 2022-05-19 14:23:28 -07:00
sql-multivalue-string-functions.md Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
sql-operators.md Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
sql-query-context.md Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
sql-scalar.md Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
sql-translation.md Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
sql.md Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
timeboundaryquery.md Refresh query docs. (#9704) 2020-04-15 16:12:20 -07:00
timeseriesquery.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
topnmetricspec.md Sql docs items (#12530) 2022-05-17 16:56:31 -07:00
topnquery.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
troubleshooting.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
using-caching.md Docs - query caching (#11584) 2022-04-18 17:00:21 +08:00
virtual-columns.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00