Docs: add pointers from api-reference to sql docs.#11548
Merged
gianm merged 1 commit intoapache:masterfrom Aug 11, 2021
Merged
Conversation
paul-rogers
reviewed
Aug 4, 2021
Contributor
paul-rogers
left a comment
There was a problem hiding this comment.
Looks great. Very helpful.
suneet-s
reviewed
Aug 9, 2021
| > 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. |
Contributor
There was a problem hiding this comment.
nit: Is there a reason why one would choose these APIs over what's available via Druid SQL or vice versa.
Contributor
Author
There was a problem hiding this comment.
The reason lies in the words "Much of this information". Some info is only available in the JSON APIs. (I didn't go through and enumerate which specific info that is, though.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Giving people a little push towards using system tables when they can. (They're easier to use than the JSON APIs and more flexible)