Commit Graph

433 Commits

Author SHA1 Message Date
199eb8e6c1 core: support left join and right join for join reorder (#23149)
close pingcap/tidb#19940
2022-05-10 23:24:35 +08:00
ede6f8cf16 *: Support modify table/column charset from latin1 to utf8/utf8mb4 (#34386)
ref pingcap/tidb#34008
2022-05-10 13:00:35 +08:00
53a3923358 planner: add more rand-gen test cases for the new cost implementation (#34486)
ref pingcap/tidb#33945
2022-05-10 11:16:34 +08:00
fa5e19010b planner: preprocessor add CTE recursive check when handleTableName (#34133)
close pingcap/tidb#34090
2022-05-06 15:24:56 +08:00
d22cd59da4 planner: refactor the cost implementation for Aggs (#34227) 2022-04-27 20:12:39 +08:00
20a58199cf *: move config file option mem-quota-query to sysvar (#34141)
ref pingcap/tidb#33769
2022-04-26 03:58:50 +08:00
f5c2710cd4 planner: fix wrong row-sizes used in cost model (#33845)
close pingcap/tidb#33844
2022-04-13 14:02:36 +08:00
334508e13d planner: fix order by sub-query couldn't find outer correlated columns (#33640)
close pingcap/tidb#26945
2022-04-02 16:26:30 +08:00
37e260ace4 planner: fix CTE predicate pushdown (#33627)
close pingcap/tidb#33622
2022-03-31 17:56:29 +08:00
ca0ade0b24 expr: add function push down results comparing testcase (#33401)
close pingcap/tidb#33391
2022-03-25 11:18:33 +08:00
9f72bcded7 planner: fix "can't find column" when projection wrongly added above index lookup reader after agg pushed down (#33287)
close pingcap/tidb#33237
2022-03-22 18:42:32 +08:00
af1ea80451 planner: support predicate pushdown for CTE (#33158)
close pingcap/tidb#28163
2022-03-17 14:14:30 +08:00
824f43408f statistics: add a more accurate upper bound to exponential backoff estimation strategy (#32848)
ref pingcap/tidb#22589, ref pingcap/tidb#32758
2022-03-14 17:21:51 +08:00
9fcc6b090b statistics: correctly check if a column histogram is loaded (#32764)
close pingcap/tidb#31925, ref pingcap/tidb#32758, close pingcap/tidb#32833
2022-03-13 15:51:50 +08:00
52fa48ce2b sessionctx,executor: Revert "sessionctx,executor: disallowed set null to sysvar" (#32988)
close pingcap/tidb#32987
2022-03-10 23:13:51 +08:00
62b2e5cdd6 statistics: skip impossible values when estimating row count (#32762)
ref pingcap/tidb#32758, close pingcap/tidb#32834
2022-03-10 16:37:50 +08:00
77730b6d9e sessionctx,executor: disallowed set null to sysvar (#32879)
close pingcap/tidb#32850
2022-03-10 01:13:49 +08:00
7cf784cf26 statistics: handle contants in Selectivity() (#32761)
ref pingcap/tidb#32758, close pingcap/tidb#32835
2022-03-06 23:41:48 +08:00
c9a7e7d4bc statistics: refactor code structure for histogram buckets and clamping row counts (#32760)
ref pingcap/tidb#32758
2022-03-04 19:07:47 +08:00
493eb45c75 *: table partition dynamic prune mode with Physical Table ID from unistore (#31634)
close pingcap/tidb#29851
2022-03-04 01:21:46 +08:00
636c8cfe36 planner, explaintest: add imdbload tests for explaintest (#32759)
ref pingcap/tidb#32758
2022-03-03 18:29:46 +08:00
bbe2d00684 expr: fix copr-test (#32740)
ref pingcap/tidb#32739
2022-03-02 18:57:46 +08:00
fccc4bedd0 expr: support push tikv supported functions down (#32553)
ref pingcap/tidb#31846
2022-03-01 15:29:45 +08:00
6517f3b315 planner,expression,util: scatter hotspot index in certain scenes by expression index (#30659)
close pingcap/tidb#31040
2022-02-18 16:47:40 +08:00
2d61131e1c planner: fix the plan when projection under unionScan (#31710)
close pingcap/tidb#31665
2022-02-16 20:55:39 +08:00
954e1e1e82 expression: fix retType of buitin func with JSON (#32301)
close pingcap/tidb#32281
2022-02-15 13:17:38 +08:00
bc267f5856 expression: support push down tikv supported functions (#32193)
ref pingcap/tidb#31846
2022-02-11 12:51:36 +08:00
4e33a0f2eb expression: refine invalid char error msg for string conversion (#32199)
close pingcap/tidb#30444
2022-02-09 19:25:36 +08:00
01fdb6023c expression: fix Coercibility and Collation with json type (#31576)
close pingcap/tidb#31320, close pingcap/tidb#31541
2022-02-09 15:41:36 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
59937273c5 planner: fix projection of generate column for indexLookup task (#31684)
close pingcap/tidb#31682
2022-01-28 16:09:14 +08:00
ec3ae9fc42 *: refine some tests related to the collation (#32000)
ref pingcap/tidb#31625
2022-01-27 11:51:13 +08:00
f2dba0e14e *: migrate some collation tests to explain test (#31993)
ref pingcap/tidb#31625
2022-01-26 19:32:46 +08:00
b2cb2e396b cmd/explaintest: migrate some collation tests (#31988)
ref pingcap/tidb#31625
2022-01-26 17:56:46 +08:00
843935b8bc cmd: fix explain test error checking (#31986)
ref pingcap/tidb#31985
2022-01-26 15:04:45 +08:00
2fe6e81819 cmd/explaintest: add a flag '-d' to control new collation (#31853)
close pingcap/tidb#31660, close pingcap/tidb#31661
2022-01-24 18:08:10 +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
e6812f9481 executor: handle collate for min/max(enum/set column) (#31819)
close pingcap/tidb#31638
2022-01-20 19:21:46 +08:00
fa3328fc9c expression: fix greatest and least function with collation get wrong result (#31806)
close pingcap/tidb#31789
2022-01-20 11:25:45 +08:00
c422a60c42 cmd/explain_test: migrate collation test and add more tests (#31626)
ref pingcap/tidb#31625
2022-01-18 17:29:44 +08:00
a8fa29b56d parser: make text return utf8 encoding string (#31457)
close pingcap/tidb#31228
2022-01-12 19:47:42 +08:00
706abd66ae expression: fix BuildCastCollationFunction (#31553)
close pingcap/tidb#31551
2022-01-11 21:59:43 +08:00
28c5074a74 cmd: make explain_test can test collation-related tests with new-collation disabled (#31385)
close pingcap/tidb#31384
2022-01-10 20:45:43 +08:00
946fa58418 server, types: rule out JSON types from new charset framework (#31388)
close pingcap/tidb#31366
2022-01-10 15:29:41 +08:00
a082abdc6f *: fix case-sensitivity issue with EQ/IN when query information_schema.columns (#31463)
ref pingcap/tidb#31481
2022-01-10 13:31:41 +08:00
0c19f92741 encoding: refactor transform to avoid the misuse buffer (#31480)
close pingcap/tidb#31488
2022-01-10 12:13:41 +08:00
e50ae867d6 expression: fix elt with gbk charset (#31346)
close pingcap/tidb#31331
2022-01-06 20:46:37 +08:00
5af7685c20 planner: don't handle collation in in expression if it contains a row function. (#31274)
close pingcap/tidb#31273, close pingcap/tidb#31300
2022-01-06 18:42:37 +08:00
f7cc15fe60 executor: fix CTE bug when used with Apply (#31256)
close pingcap/tidb#31255
2022-01-06 15:34:38 +08:00
cfbe70846a config: remove new charset config (#31291)
close pingcap/tidb#31236
2022-01-06 13:26:37 +08:00