Commit Graph

230 Commits

Author SHA1 Message Date
7c727e10dd util/range: replace in-place create store helper function with testkit (#32181)
close pingcap/tidb#32180
2022-02-09 14:33:35 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
4ae96872ff planner: do not use like to build range when new collation is enabled (#31278)
close pingcap/tidb#31174
2022-01-22 00:09:47 +08:00
6b1010f405 *: enable golangci-lint prealloc (#31521)
close pingcap/tidb#29004
2022-01-11 01:09:41 +08:00
11be4292d1 planner: fix wrong ranges for binary literal + in (#31292) 2022-01-05 18:07:09 +08:00
e3124ae813 util: fix build ranger's collation (#31226)
close pingcap/tidb#31216
2022-01-04 11:52:36 +08:00
69b358a5e5 statistics, util/ranger: use the correct collators when record ce trace (#31207) 2021-12-31 11:59:50 +08:00
9ffeff2857 types: convert to new charset before inserting to blob or json column (#31031)
close pingcap/tidb#30690
2021-12-30 21:35:50 +08:00
9ad00962f6 test: merge serial tests in cmd, planner, server, util (#31003) 2021-12-24 20:21:53 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
321d307f3b types, util: clean up compareDatum (#30815) 2021-12-17 14:22:36 +08:00
daf525a17e *: replace compareDatum by compare, range part (#30710) 2021-12-16 19:48:36 +08:00
2f42f7c0f6 planner: unify the argument of stats functions to use SessionCtx instead of StatementContext (#30668) 2021-12-14 19:36:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
b626745299 util: replace compareDatum by compare, point part (#30575) 2021-12-14 01:20:35 +08:00
9d4da4f3fb *: query failed after add index / timestamp out-of-range (#28424) (#29323) 2021-12-10 17:49:57 +08:00
d9ef107d39 *: replace compareDatum by compare, PR 11 (#30465) 2021-12-09 12:47:56 +08:00
f82ca6a8eb statistics, util/ranger: add cardinality estimation trace for GetRowCountBy... (#30321) 2021-12-07 19:45:56 +08:00
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