Commit Graph

218 Commits

Author SHA1 Message Date
a94cde38ef planner: fix an unstable explain test case (#40199)
ref pingcap/tidb#35240
2022-12-27 18:08:16 +08:00
b33ff62413 *: enable tidb_enable_foreign_key variable default (#39677) 2022-12-07 13:01:55 +08:00
1e6d1a832b *: add foreign key check/cascade information in explain result (#39167)
close pingcap/tidb#39166
2022-11-22 17:31:57 +08:00
1c5b837c07 planner: fix the cost model version in explain-tests (#38728)
close pingcap/tidb#35240
2022-11-02 13:38:00 +08:00
accff68621 planner, cte: fix cte in the embeded union (#38122)
close pingcap/tidb#37928
2022-10-11 12:09:50 +08:00
df5f05ff9b planner: reopen CTE in apply only when correlate (#38214)
close pingcap/tidb#38170
2022-09-29 16:07:45 +08:00
0823fdb6b3 planner, executor: implement the null-aware antiSemiJoin and null-aware antiLeftOuterSemiJoin (hash join with inner build) (#37512)
close pingcap/tidb#37525
2022-09-20 00:05:03 +08:00
20d46c2c53 planner: make unsafe substitute can be used in generated column (#37779)
close pingcap/tidb#35490
2022-09-16 12:50:59 +08:00
7eb7ca902a planner: fallback to static plan for partition table if having no global stats in dynamic prune mode (#37573)
ref pingcap/tidb#37535
2022-09-08 09:20:57 +08:00
d3483026ed planner: mark the both side operand of NAAJ & refuse partial column substitute in projection elimination of Apply de-correlation (#37117)
close pingcap/tidb#37032
2022-08-24 18:02:21 +08:00
0e4af6cd48 planner: fix outer join reorder will push down its outer join condition (#37245)
close pingcap/tidb#37238
2022-08-23 13:14:20 +08:00
21847fe58b planner: set EnableOuterJoinReorder to false by default (#37264)
ref pingcap/tidb#37238
2022-08-22 19:30:20 +08:00
9d0f5f72d3 *: enable pessimistic transaction on unistore (#36578) 2022-07-26 21:07:10 +08:00
1b848f40e2 planner: just pop cte's handleHelper map out since it shouldn't be considered (#35854)
close pingcap/tidb#35758
2022-07-26 14:19:10 +08:00
c578d19c9f parser, ddl: support decoding binary literal in set/enum (#35822)
close pingcap/tidb#31338
2022-06-30 15:36:39 +08:00
9bde478b22 ddl: make output field name in show tables/databases stmt compatible with mysql (#35136)
close pingcap/tidb#35116
2022-06-29 15:48:39 +08:00
11f06e00ce planner: disable collate clause support for enum or set column (#35684)
close pingcap/tidb#31637
2022-06-24 20:32:37 +08:00
49603af359 expression: avoid padding 0 when implicitly cast to binary (#35053)
close pingcap/tidb#34823
2022-06-21 12:22:36 +08:00
580a68dff3 planner: fix cte-schema-clone will clone the old hashcode of its column if any (#35415)
close pingcap/tidb#35404
2022-06-17 16:50:35 +08:00
847b5e1b69 parser: forbid alter latin1 to utf8mb3 (#34723)
close pingcap/tidb#34720
2022-05-17 17:18:39 +08:00
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
fa5e19010b planner: preprocessor add CTE recursive check when handleTableName (#34133)
close pingcap/tidb#34090
2022-05-06 15:24:56 +08:00
37e260ace4 planner: fix CTE predicate pushdown (#33627)
close pingcap/tidb#33622
2022-03-31 17:56:29 +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
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
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
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
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
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
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
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