From faebefecae65e92ae13c95cfd1248e8a855917c4 Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Wed, 11 Aug 2021 09:00:33 -0700 Subject: [PATCH] Docs: add pointers from api-reference to sql docs. (#11548) --- docs/operations/api-reference.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/operations/api-reference.md b/docs/operations/api-reference.md index 460e724c8c6..7fcf988d4c8 100644 --- a/docs/operations/api-reference.md +++ b/docs/operations/api-reference.md @@ -167,6 +167,9 @@ If no used segments are found for the given inputs, this API returns `204 No Con #### Metadata store information +> Note: Much of this information is available in a simpler, easier-to-use form through the Druid SQL +> [`sys.segments`](../querying/sql.md#segments-table) table. + ##### GET * `/druid/coordinator/v1/metadata/segments` @@ -867,6 +870,11 @@ Note that all _interval_ URL parameters are ISO 8601 strings delimited by a `_` ##### GET +> Note: Much of this information is available in a simpler, easier-to-use form through the Druid SQL +> [`INFORMATION_SCHEMA.TABLES`](../querying/sql.md#tables-table), +> [`INFORMATION_SCHEMA.COLUMNS`](../querying/sql.md#columns-table), and +> [`sys.segments`](../querying/sql.md#segments-table) tables. + * `/druid/v2/datasources` Returns a list of queryable datasources. @@ -927,6 +935,11 @@ Returns segment information lists including server locations for the given query #### GET +> Note: Much of this information is available in a simpler, easier-to-use form through the Druid SQL +> [`INFORMATION_SCHEMA.TABLES`](../querying/sql.md#tables-table), +> [`INFORMATION_SCHEMA.COLUMNS`](../querying/sql.md#columns-table), and +> [`sys.segments`](../querying/sql.md#segments-table) tables. + * `/druid/v2/datasources` Returns a list of queryable datasources.