Commit Graph

478 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
3f86a11492 planner: add three fields to statement summary table (#39828)
ref pingcap/tidb#39199
2022-12-13 11:10:51 +08:00
b33ff62413 *: enable tidb_enable_foreign_key variable default (#39677) 2022-12-07 13:01:55 +08:00
e1cc961526 dumpling: Set default driverCfg to use TLS first (#39423) 2022-12-05 12:36:02 +08:00
6b4739f170 planner: change the stage of count star rewriter rule from logical to post (#39555)
close pingcap/tidb#37165
2022-12-02 12:20:00 +08:00
6241d6054f planner, executor: support intersection type IndexMerge with hint in planner (#38650)
close pingcap/tidb#39335
2022-11-30 10:30:00 +08:00
37bd052ee5 planner: rewrite count star to count not null column (#39197)
close pingcap/tidb#37165
2022-11-28 23:57:59 +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
c6e1982fb2 sessionctx: enable clustered index by default (#38447) 2022-11-04 10:06:03 +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
8d57ed9b16 bazel: remove useless config (#38581) 2022-10-20 20:25:54 +08:00
22b85b9b3e statistics, planner: make the content in HistColl.ColID2IdxIDs stable (#38458)
close pingcap/tidb#38457
2022-10-18 17:57:55 +08:00
5fa9da1bf7 planner: make the meaning of displayed estimated row count consistent with actual row count (#38188)
close pingcap/tidb#38187
2022-10-17 18:45:53 +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
150813dd86 preprocessor, planner: inline processing by default for single-consumer cte (#37800) 2022-09-29 00:09:40 +08:00
ran
2cb8831291 planner: Replace CTE access object in execution plan with actual name and as name (#37345)
close pingcap/tidb#37174
2022-09-27 11:59:44 +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
563b4262d5 expression: allow json functions to be expression index (#37738)
close pingcap/tidb#37740
2022-09-14 17:22: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
57c493821f planner: support hash_join_build and hash_join_probe hints (#36667)
close pingcap/tidb#35439
2022-09-02 14:44:24 +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
d6ebc600f8 expression: make collation work with json type (#37211)
close pingcap/tidb#31640
2022-08-19 11:20:52 +08:00
28c934cdae planner: finish todo in builtin_cast.go#L1945 (#36921)
close pingcap/tidb#36920
2022-08-09 16:16:47 +08:00
cfe09709c2 cmd: don't check race when using tikv for explain test (#36513) 2022-08-02 14:26:05 +08:00
5b4a82dbf4 *: upgrade bazel timeout (#36776) 2022-08-02 11:10:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
f459bb3a86 planner: avoid change the type of the input of sum/avg (#36372)
close pingcap/tidb#36371
2022-07-29 16:21:12 +08:00
9d0f5f72d3 *: enable pessimistic transaction on unistore (#36578) 2022-07-26 21:07:10 +08:00
b75b785b65 *: support bazel for explain test (#36563) 2022-07-26 19:09: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
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
a52656fde4 *: add binary plan in stmt summary and slow log/query (#35698)
close pingcap/tidb#35889
2022-07-20 18:21:09 +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
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
ae8da6f0bd *: make Row errors be correctly checked (#35188)
close pingcap/tidb#35050
2022-06-07 13:26:30 +08:00
daa1691aa1 planner: revise push agg down across outer join (#34916)
* fix invalid count push down

Signed-off-by: yisaer <disxiaofei@163.com>

fix explaintest

Signed-off-by: yisaer <disxiaofei@163.com>

* add testcase

Signed-off-by: yisaer <disxiaofei@163.com>

* fix test

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

* add testcase

Signed-off-by: yisaer <disxiaofei@163.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-05-30 21:15:45 +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
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