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
..
2023-05-19 09:42:27 -07:00
2023-05-19 09:42:27 -07:00
2023-05-19 09:42:27 -07:00
2022-02-11 14:43:30 -08:00
2022-05-17 16:56:31 -07:00
2023-06-26 15:48:54 -07:00
2023-05-19 09:42:27 -07:00
2023-05-19 09:42:27 -07:00
2022-02-11 14:43:30 -08:00
2022-02-11 14:43:30 -08:00
2023-05-19 09:42:27 -07:00
2022-05-17 16:56:31 -07:00
2022-02-11 14:43:30 -08:00