Commit Graph

212 Commits

Author SHA1 Message Date
d3c6045f63 *: replace compareDatum by compare (#30421) 2021-12-06 20:41:56 +08:00
94be83bfa6 *: replace compareDatum by compare and fix wrong optimize order by (#30273) 2021-12-01 19:01:53 +08:00
a90344c5a3 planner: regard NULL as point when accessing composite index (#30244) 2021-12-01 10:15:34 +08:00
d15ca2a869 planner: unify the argument of range functions to use SessionCtx instead of StatementContext (#29999) 2021-11-23 12:35:51 +08:00
44283b743b util: remove Parallel for TestIndexRange (#29954) 2021-11-22 14:29:49 +08:00
bdfd3f6974 *: refine CharsetAndCollation (#29561) 2021-11-12 17:41:05 +08:00
cdd141dcca planner: fix the issue that IndexJoin with plan-cache return wrong results after changing some parameters unexpectedly (#29496) 2021-11-05 14:57:02 +08:00
8368eeed24 *: remove useless parameter (#29392) 2021-11-04 12:39:02 +08:00
da6252e9a5 planner: fix the issue that some IndexJoin cannot use plan-cache (#29238) 2021-11-01 12:00:28 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
501e87ec44 planner: fix the issue that some PointGet plans generated in physical-stage cannot be cached (#28478) 2021-10-09 17:33:24 +08:00
13be486682 planner: rename some variables for easy understanding (#28226) 2021-09-26 13:20:46 +08:00
37a298b04e planner: count rune if charset is neither binary nor ascii (#27664) 2021-09-10 22:16:39 +08:00
afca7649fa planner: refine prefer-range-scan behavior (#27123) 2021-09-02 12:06:14 +08:00
fabfc22f88 util: fix wrong convert from string to enum (#27629) 2021-08-27 12:22:05 +08:00
8370cab551 planner: rename BuildLogicalPlan to BuildLogicalPlanForTest (#27606) 2021-08-26 18:42:05 +08:00
dfe9acfa43 planner/cascades: migrate test-infra to testify (#27277) 2021-08-19 19:56:02 +08:00
eab35684c0 planner: query should report error when timestamp overflow (#27304) 2021-08-19 12:12:00 +08:00
4d5350c718 planner: fix the problem of using enum like 'x%' to build the wrong range (#27267) 2021-08-17 12:37:59 +08:00
f1fd5740c5 util/ranger: test data is setup/teardown logic (#27221) 2021-08-17 10:03:59 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
73cadf060d ddl: improve MySQL compatibility on time-to-year conversion (#26884) 2021-08-13 22:49:58 +08:00
f570e8fb67 util/ranger: migrate test-infra to testify (#26988) 2021-08-11 16:49:15 +08:00
83181c6bcb planner: steady expression index selection when having duplicate expressions (#25826) 2021-08-02 14:47:06 +08:00
7f2843803a planner: improve skyline pruning (#26271) 2021-08-02 14:17:06 +08:00
c353cad8d9 util/ranger: fix func name typo (#24306) 2021-07-29 16:08:17 +08:00
94ed411ab8 util/ranger: fix wrong range calculation of prefix index when appending ranges to point ranges (#26066) 2021-07-13 14:07:32 +08:00
11716e7f4a *: use full sampling as default analyze (#25132) 2021-06-06 00:34:27 +08:00
be63681161 expression: processing empty string for enum index correctly (#25101) 2021-06-04 17:28:28 +08:00
f3557bb591 planner, executor: supports select statement with AS OF (#24613) 2021-05-27 21:11:35 +08:00
651e041201 ranger: fix incorrect enum range for xxx_ci collation (#24661) 2021-05-20 03:17:41 +08:00
d169a57ba5 util: fix wrong enum building for index range (#24632) 2021-05-14 11:55:38 +08:00
aecff1c42e ranger: fix the case which could have duplicate ranges (#24590) 2021-05-13 20:03:38 +08:00
1df03a6808 planner: fix incorrect TableDual plan built from nulleq (#24596) 2021-05-13 19:51:38 +08:00
289dcfefdd util: fix enum index range for in/not in clause. (#24431) 2021-05-06 23:05:52 +08:00
a57dc3ab65 planner: prune partitions that will never be used (#24376) 2021-05-06 19:59:52 +08:00
8da5a1f113 planner, expression: support enum index scan (#22691) 2021-04-28 15:59:56 +08:00
bd2553734b expression: support enum pushdown (#22686) 2021-04-26 18:51:56 +08:00
f1a48216b2 statistics: fix some potential panic in statistics (#23988) 2021-04-15 21:15:53 +08:00
670b5fbcf5 ranger: fix the range construction behavior when the column's type is YEAR (#23559) 2021-04-14 16:03:52 +08:00
4130033736 planner: fix wrong IndexScan plan reused in plan cache (#23758) 2021-03-31 22:07:24 +08:00
8fca6a21a6 util: fix range building for binary literal (#23699) 2021-03-31 14:43:24 +08:00
a49effd47e planner, util/ranger: apply PushDownNot to condition before pruning partition (#23628) 2021-03-29 20:47:24 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
1915517c0c ranger: handle decimal overflow properly when building index ranges (#23535) 2021-03-25 17:05:01 +08:00
47749a156a partition: fix hash partition with not between condition get wrong result (#22914) 2021-03-25 11:53:23 +08:00
42be9a4a8d planner: fix plan cache not working caused by type difference (#23175) 2021-03-22 20:29:36 +08:00
28c3748496 planner: remove some risky cache operations in the plan builder (#23354) 2021-03-18 15:35:11 +08:00
5bafb3203e planner: show cast type in EXPLAIN in coptask (#23123) 2021-03-16 16:16:55 +08:00
3b016a9a02 planner: fix panic when building index merge plan (#23141) 2021-03-08 11:50:54 +08:00