Commit Graph

1921 Commits

Author SHA1 Message Date
1cf4fcfa73 *: support prepared plan cache for cached table (#32139)
close pingcap/tidb#32003
2022-02-14 12:29:37 +08:00
7c56706622 *: support predeclared golangci-lint linter (#32066)
close pingcap/tidb#30733
2022-02-14 10:35:38 +08:00
f949e01e0b planner, expression: pushdown AggFuncMode to coprocessor (#31392)
close pingcap/tidb#30923
2022-02-11 17:49:37 +08:00
2f2a1c7194 planner/core: disable 'push to cop' optimize rule for cached table (#32162)
close pingcap/tidb#32157
2022-02-11 14:53:37 +08:00
c0244a380b planner: disallow use of key prefix with zero length (#32176)
close pingcap/tidb#31972
2022-02-11 14:03:36 +08:00
bc267f5856 expression: support push down tikv supported functions (#32193)
ref pingcap/tidb#31846
2022-02-11 12:51:36 +08:00
7ceb73341e planner: Support (cartesian) (anti) left semi join push down to TiFlash (#31002)
close pingcap/tidb#32186
2022-02-11 12:31:36 +08:00
297455d7e2 planner/core: migrate test-infra to testify for rule_ tests (#32179)
close pingcap/tidb#28396, close pingcap/tidb#28397, close pingcap/tidb#28398
2022-02-09 16:09:36 +08:00
1f7c567ca9 planner/core: migrate logical_plans_test.go to testify (#32102)
close pingcap/tidb#28410
2022-02-09 11:05:35 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
9f10e692fd planner: migrate test-infra to testify for planner/core/errors_test (#32055)
close pingcap/tidb#28407
2022-02-01 00:11:31 +08:00
955b688e8b expression: support push down tikv supported functions (#31983)
ref pingcap/tidb#31846
2022-01-29 14:53:13 +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
e7da7d4f95 *: change fsp from int8 to int (#28347) 2022-01-27 13:59:12 +08:00
b1155ee132 planner/core: migrate test-infra to testify for 'planner/core/stats_test.go' (#31970)
close pingcap/tidb#28399
2022-01-26 22:30:45 +08:00
93454da4c4 *: add show push down for ShowTables (#31919)
close pingcap/tidb#30803
2022-01-26 20:30:45 +08:00
f885a7a3cb planner: support trace fast plan (#31926)
close pingcap/tidb#31763
2022-01-26 17:06:45 +08:00
24e5fa1df0 planner/core: migrate test-infra to testify for 'planner/core/optimizer_test.go' (#31969)
close pingcap/tidb#28402
2022-01-26 14:36:45 +08:00
11f4ca8020 planner/core: migrate test-infra to testify for planner/core/plan_test.go (#31939)
close pingcap/tidb#28390
2022-01-25 18:40:12 +08:00
2e1cff73f3 *: add ExecRestrictedSQL() func for RestrictedSQLExecutor interface (#31618)
ref pingcap/tidb#30918
2022-01-24 21:30:11 +08:00
756f5a3b78 expression: support push down right/left to TiKV (#31847)
ref pingcap/tidb#31846
2022-01-24 17:26:11 +08:00
9ad0fa341a expression: pass the arg's nullable type to target type for cast function (#31400)
close pingcap/tidb#31399
2022-01-24 17:06:11 +08:00
2d522dd590 planner: Add MPPPartitionType PassThroughType to mark PassThrough Exchange. (#31766)
* fix

* add tests

* simple

* fix test

* rename collect to passthrough

* add more comments

* add more tests

* fix test

* add more tests

* rename

* try fix wtf check_dev

* add some comment

* make rh
2022-01-21 21:42:07 +08:00
2d62d23b20 planner: support trace candidates for Datasource (#31810)
ref pingcap/tidb#29661
2022-01-21 11:11:45 +08:00
ad1c5b5081 *: add pushdown for ShowStmt and implement for show columns (#31742)
close pingcap/tidb#29910
2022-01-20 20:41:45 +08:00
a15f4fd2d7 planner: support column range partition pruning for builtin function IN (#31493)
close pingcap/tidb#26739
2022-01-20 20:07:46 +08:00
1a146fabd7 variables: add constraints on tidb_super_read_only when tidb_restricted_read_only is turned on (#31746)
close pingcap/tidb#31745
2022-01-20 12:13:45 +08:00
c589ee5471 *: remove direct placement from models (#31816)
close pingcap/tidb#31427
2022-01-20 00:47:45 +08:00
883f72bd36 planner: revise optimize tracer code structure (#31739)
ref pingcap/tidb#29661
2022-01-19 12:47:44 +08:00
dc969f0eb8 executor: Add replace support for LOAD DATA (#31303)
ref pingcap/tidb#24515
2022-01-18 12:31:44 +08:00
50704075af *: insert set default timestamp failed (#29966)
close pingcap/tidb#29926
2022-01-18 03:43:44 +08:00
465f655889 * : replace fmt.Sprint with strconv (#31718)
ref pingcap/tidb#31716
2022-01-17 15:11:44 +08:00
f1f9230264 mpp: Fix the crash or error when mpp generate empty task list. (#31658)
close pingcap/tidb#31636
2022-01-14 15:25:42 +08:00
8ee88265cd planner, distsql: fix the Stale Read and Local Txn compatibility (#31606)
close pingcap/tidb#31604
2022-01-13 22:09:42 +08:00
0a3bcc689f planner: fix same index read plan but has different plan digest (#31560)
close pingcap/tidb#31438
2022-01-13 15:29:42 +08:00
dff91fab0a planner: fix panic during optimizer trace (#31542)
close pingcap/tidb#31537
2022-01-12 23:07:42 +08:00
a8fa29b56d parser: make text return utf8 encoding string (#31457)
close pingcap/tidb#31228
2022-01-12 19:47:42 +08:00
d101fc0c32 *: case-insensitivity with LIKE when query information_schema.columns (#31511)
close pingcap/tidb#31554
2022-01-12 14:21:43 +08:00
706abd66ae expression: fix BuildCastCollationFunction (#31553)
close pingcap/tidb#31551
2022-01-11 21:59:43 +08:00
6b1010f405 *: enable golangci-lint prealloc (#31521)
close pingcap/tidb#29004
2022-01-11 01:09:41 +08:00
8dfad92a00 planner: fix tikv table path wrongly pruned when forcing primary index and tiflash replica exists (#31509)
close pingcap/tidb#31202
2022-01-10 19:23: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
4baab3cf1a planner: fix bug caused by wrong column indice in NominalSort's sort item (#31324)
close pingcap/tidb#31035
2022-01-10 12:47:42 +08:00
a150267c8a optimizer: calculate digest only once for plan cache (#31479)
close pingcap/tidb#31269
2022-01-10 11:45:41 +08:00
495525b262 statistics: fix data race and error handling in stats load (#31301)
close pingcap/tidb#31237
2022-01-10 11:23:41 +08:00
b9a0eb6e6b planner: migrate test-infra to testify for memtable_predicate_extractor_test.go (#31473)
close pingcap/tidb#28403
2022-01-08 17:14:37 +08:00
375b71b501 stats: resolve the constant selectivity when handling DNF exprs (#31242)
close pingcap/tidb#31096
2022-01-07 18:28:38 +08:00
5cd37f0008 session: fix data race in ParseWithParamsInternal (#31058)
close pingcap/tidb#30918
2022-01-06 21:02:37 +08:00
f7d067017f planner: do not cache tableDual plan (#31386)
close pingcap/tidb#31375
2022-01-06 19:54: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