Commit Graph

101 Commits

Author SHA1 Message Date
463d085342 planner: check clustered index don't need double read (#18054) 2020-06-17 14:37:21 +08:00
7f1cd1a60d planner: support build clustered index range for table scan (#18018) 2020-06-16 11:49:01 +08:00
06361c2d98 expression: fix type infer error for count (#17871) 2020-06-11 10:22:54 +08:00
8189c4af83 planner: isolation read do not filter system tables (#17556) 2020-06-05 17:12:27 +08:00
94a722e2df statistics: improve estimation for index equal condition (#17366) 2020-06-03 08:32:17 +08:00
777907bcee planner: push agg below partition union all by default (#17262) 2020-05-28 18:11:13 +08:00
38298c2e3e planner: fix wrong index merge join plan for join key is not the prefix of index (#16894) 2020-05-22 17:40:10 +08:00
134e691d6f planner: check required order property for enforced stream aggregation (#17338) 2020-05-21 23:47:55 +08:00
b248783dfe planner: fix wrong agg function when agg push down union (#17022) 2020-05-20 21:50:15 +08:00
3afb631ef6 planner/core: support range partition pruning for 'in' expression (#17210) 2020-05-20 19:27:14 +08:00
e8779717d9 planner, expression: Remove the default asc order in explain result (#17074) 2020-05-14 17:38:19 +08:00
7ebcc20398 executor: support GROUP_CONCAT(ORDER BY) (#16591) 2020-05-06 18:41:22 +08:00
76b910edd1 planner: hints for index merge should check the DB name for a table (#16519) 2020-04-29 15:46:56 +08:00
902231076d planner: move flagPrunColumnsAgain so that UPDATE statement ca… (#16785) 2020-04-24 18:58:51 +08:00
b6fcc15744 planner: enforce the required property when hint cannot satisf… (#15650) 2020-04-22 14:26:20 +08:00
b8494e7a11 expression: support disable expression pushdown based on store… (#16389) 2020-04-17 14:53:25 +08:00
637d3b8a44 planner: only push count distinct when child is DataSouce (#16371) 2020-04-16 13:04:33 +08:00
8f000fc353 planner: push avg & distinct functions across union (#16344) 2020-04-15 18:07:37 +08:00
d26875db7e expression: fix error PushDownNot for contiguous NOT (#16108) 2020-04-15 17:52:14 +08:00
c66320c464 planner: fix panic when two table scan as the build side for i… (#16001) 2020-04-14 18:22:43 +08:00
49ee75a0a5 planner, executor: enable inline projection for merge join (#15463) 2020-04-09 15:58:32 +08:00
a69e7da69b util/hint: resolve semantically equivalent bindings into a single one (#15895) 2020-04-03 17:27:57 +08:00
f572c8efc5 planner: add warning when use_index_merge hint's index names are invalid (#15960) 2020-04-03 11:33:38 +08:00
77f970c48c planner: fix push down distinct when need to inject projection (#15997) 2020-04-02 11:43:01 +08:00
4eb9ca3d3f planner: push aggregation functions with distinct to cop (#15500) 2020-04-01 20:49:14 +08:00
506763905a planner: add warning when join hint has no arguments (#15583) 2020-03-30 22:53:11 +08:00
b77f912866 planner: add warning when table doesn't exist in read_from_sto… (#15256) 2020-03-30 13:39:59 +08:00
9dc6d9c05e planner: check readEngines when building plan for index hint (#15723) 2020-03-27 15:24:14 +08:00
dd141728a3 planner: add warning when the table name of indexHint cannot be found (#15517) 2020-03-27 11:32:14 +08:00
c1e44a7818 planner: don't choose point get when none tikv in isolation read (#15147) 2020-03-27 10:27:27 +08:00
a6de0e38d4 planner: fix read from storage hint doesn't work for multiple same storages (#15491) 2020-03-24 21:32:02 +08:00
36e89f8220 planner: make multiple USE_INDEX_MERGE(t) hints take effect (#15603) 2020-03-24 13:38:32 +08:00
b2e6a61ec5 planner, test: use intergration_serial_suite_in.json for integration_serial_suite (#15620) 2020-03-24 13:33:01 +08:00
e32aba0d70 planner: implement BuildKeyInfo of LogicalTopN and LogicalTableDual (#15543) 2020-03-24 09:29:32 +08:00
7a09249a74 planner: fix bug some cases index merge join hint doesn't work (#15515) 2020-03-23 18:05:31 +08:00
21ee980e11 *: Refine Explain's format. (#15507) 2020-03-23 17:57:49 +08:00
5268094afe planner: correct the dbName for hint (#15319) 2020-03-17 22:20:13 +08:00
544e45eb54 planner, executor: fix rename sm_join to merge_join (#15394) 2020-03-17 18:32:13 +08:00
76f63fdac6 planner: add error message for group_concat (#15345) 2020-03-17 13:36:53 +08:00
183a9d585a *: update explain info of outer hash joins (#15247) 2020-03-10 20:38:02 +08:00
d1aa2f5b09 planner: implement extractCorrelatedCols for DataSource & TopN & Window (#14937) 2020-03-09 13:14:46 +08:00
9e98f706ae planner, executor: support point get as a option of DataSource (#14775) 2020-03-09 10:47:16 +08:00
c1114b9724 planner, executor: enable inline projection for index joins (#15004) 2020-03-02 15:32:09 +08:00
6d00e2169b planner: enable inline projection for hash join (#14783) 2020-02-28 16:28:10 +08:00
0f9a973e96 planner: Fix IndexJoin's inner TableScan's Range when explain/desc (#14919) 2020-02-27 14:25:55 +08:00
236352e98f *: show build and probe side for join and index lookup related operators in explain result (#14838) 2020-02-26 17:12:09 +08:00
dbcf5fbcc8 planner: show cast type in EXPLAIN (#14942) 2020-02-26 16:36:35 +08:00
b64ad65636 planner: improve projection to keep order or keep index in some cases (#14510) 2020-02-26 14:02:36 +08:00
dcdfd60c51 planner: move flagPrunColumnsAgain to the last (#14791) 2020-02-24 16:22:36 +08:00
3399f4be31 planner: distinguish FullScan and the RangeScan in explain/desc info (#14696) 2020-02-24 15:23:06 +08:00