Commit Graph

87 Commits

Author SHA1 Message Date
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
d9eab62ed8 planner: LogicalLock support pushDownTopN (#14891) 2020-02-24 10:58:52 +08:00
a5e0660439 coprocessor: let tiflash split range task consistent with tikv (#14710) 2020-02-14 15:31:37 +08:00
03705d1344 test: fix TestAggToCopHint (#14741) 2020-02-12 21:46:17 +08:00
6702d95fc0 planner: prune columns again after predicate push down (#14683) 2020-02-12 18:13:18 +08:00
74e49085cf planner: make the read storage hint not force plan (#14644) 2020-02-10 20:02:22 +08:00
c2da4eafd7 planner: Fix SMJ hint, support SMJ with descending order. (#14505) 2020-01-25 10:10:10 +08:00
74bc00dfa9 Improve the performance of WindowExec by using multi-thread hash grouping (#14238) 2020-01-16 21:04:16 +08:00
b9091b0ce2 planner: fix panic when generating index merge path for unique index (#14382) 2020-01-08 11:14:25 +08:00
57bb931a27 planner: apply max/min elimination when other aggregations exist (#14376) 2020-01-07 19:36:39 +08:00
0adab37467 expression: open CAST string as real push down switcher (#14323)
Signed-off-by: Lonng <heng@lonng.org>
2020-01-06 11:28:02 +08:00
1437d7e65b expression: open push down switcher for part of CAST functions (#13837)
Signed-off-by: Lonng <heng@lonng.org>
2020-01-02 11:43:43 +08:00
fe764a97a3 *: only add union scan when dirty table is not empty (#14265) 2019-12-31 13:20:27 +08:00
f18abc980d planner: fix row count estimation for unique composite IndexScan of IndexJoin (#14167) 2019-12-25 19:53:10 +08:00
02408dbd04 planner: support cost model for Chunk encode format. (#13461) 2019-12-18 15:47:16 +08:00