druid/docs/querying
Abhishek Radhakrishnan 79bff4bbf7
Improvements to `EXPLAIN PLAN` attributes (#14441)
* Updates: use the target table directly, sanitized replace time chunks and clustered by cols.

* Add DruidSqlParserUtil and tests.

* minor refactor

* Use SqlUtil.isLiteral

* Throw ValidationException if CLUSTERED BY column descending order is specified.

- Fails query planning

* Some more tests.

* fixup existing comment

* Update comment

* checkstyle fix: remove unused imports

* Remove InsertCannotOrderByDescendingFault and deprecate the fault in readme.

* minor naming

* move deprecated field to the bottom

* update docs.

* add one more example.

* Collapsible query and result

* checkstyle fixes

* Code cleanup

* order by changes

* conditionally set attributes only for explain queries.

* Cleaner ordinal check.

* Add limit test and update javadoc.

* Commentary and minor adjustments.

* Checkstyle fixes.

* One more checkArg.

* add unexpected kind to exception.
2023-06-26 23:01:11 -04:00
..
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 API reference refactor (#14372) 2023-06-26 15:48:54 -07: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 Limit the subquery results by memory usage (#13952) 2023-06-26 18:12:28 +05:30
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 Improvements to `EXPLAIN PLAN` attributes (#14441) 2023-06-26 23:01:11 -04:00
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