Commit Graph

5131 Commits

Author SHA1 Message Date
827fe400bc ddl,executor: fix two unstable partitino table unit test cases (#37721)
ref pingcap/tidb#37717, close pingcap/tidb#37719
2022-09-09 00:32:55 +08:00
cdcbfc838a executor: implement json time/duration (#37579)
close pingcap/tidb#9988, close pingcap/tidb#31104
2022-09-08 17:42:55 +08:00
ca5de8928b session, planner: add a session variable "tidb_opt_force_inline_cte" (#37626)
close pingcap/tidb#36514
2022-09-08 15:52:57 +08:00
52c847651d sessionctx/variable: add system variable tidb_opt_range_max_size (#37706)
ref pingcap/tidb#37176
2022-09-08 15:20:57 +08:00
1d482db4dd *: Support for tidb_sm3_password authentication (#36193)
close pingcap/tidb#36192
2022-09-08 12:00:57 +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
62480cf19b *: add telemetry support for account lock/unlock (#37344)
close pingcap/tidb#37324
2022-09-07 18:40:56 +08:00
c7806eac6f executor: let plan replayer support load bindings (#37637)
close pingcap/tidb#37433
2022-09-07 15:56:57 +08:00
9036de3394 *: support create table with foreign key and maintain foreign key reference (#37148)
close pingcap/tidb#37147
2022-09-07 13:22:56 +08:00
36b6710c64 executor: disable closest replica read if cluster is not balanced (#36824)
ref pingcap/tidb#35926
2022-09-07 11:28:56 +08:00
55e86e0037 util: use channel.Clear to empty channel (#37643) 2022-09-06 19:28:55 +08:00
aab394fb42 br: handle special character in SQL (#37486)
close pingcap/tidb#37469
2022-09-06 15:04:56 +08:00
70684d39de *: enable mock session manager and schemaLease for all unit tests (#37623) 2022-09-06 14:04:55 +08:00
c824784c9a parser: support do some adminStmt in read-only mode (#37635)
close pingcap/tidb#37631
2022-09-06 13:48:55 +08:00
Hu#
4a88efc9c9 ddl: Check the ResolvedTS during the preparation. (#37607)
ref pingcap/tidb#37197
2022-09-06 13:10:55 +08:00
bf02d2521a *: upgrade prometheus client (#37630) 2022-09-06 10:58:54 +08:00
77223af6a3 executor: fix incorrect ORDINAL_POSITION for INFORMAITON_SCHEMA.COLUMNS table (#37419)
close pingcap/tidb#31200
2022-09-06 08:08:55 +08:00
09180fde37 planner: fix show View Privilege behave for view table (#37343)
close pingcap/tidb#34326
2022-09-05 20:08:55 +08:00
170dafc7e1 types: merge json and types pkg (#37578)
close pingcap/tidb#37577, close pingcap/tidb#37628
2022-09-05 19:42:55 +08:00
b2723bf8ff planner: replace simple LRU with plan cache LRU (#37423)
ref pingcap/tidb#36598
2022-09-05 13:32:55 +08:00
331707cfdc infoschema: check hidden sysvars for SEM (#37587)
close pingcap/tidb#37586
2022-09-04 13:32:26 +08:00
080a784a75 expression: forbid binary string to be json key (#37541)
close pingcap/tidb#37509
2022-09-02 18:50:25 +08:00
0d8af9436a executor: fix flaky TestDefaultValForAnalyze (#37576)
close pingcap/tidb#36341
2022-09-02 18:16:25 +08:00
36ff60d042 planner: fix partition table getting error result when select TIKV_REGION_STATUS with table_id. (#37498)
close pingcap/tidb#37436
2022-09-02 11:54:25 +08:00
7d0318cbd3 planner, statistics: refine stats loaded status and when to use pseudo stats (#37444)
close pingcap/tidb#37485
2022-09-01 20:56:24 +08:00
835922a5cd txn: support skipping locking of some INSERT in pessimistic transactions (#36473)
close pingcap/tidb#36579
2022-09-01 18:34:25 +08:00
c372adb7a8 planner: refactor PrepareExecutor (#37519)
ref pingcap/tidb#36598
2022-09-01 18:10:25 +08:00
6e582640d7 *: upgrade glangci-linter (#37413) 2022-09-01 12:14:24 +08:00
a04000cd89 *: merge feature/flashback-cluster to master (#37529)
ref pingcap/tidb#37197
2022-09-01 10:58:24 +08:00
68c5d505d7 executor: distinguish query types of prepared stmt (#37505)
close pingcap/tidb#37503
2022-08-31 16:58:23 +08:00
4e39ac03fe executor: remove some useless sleep in test case (#37475) 2022-08-31 10:18:23 +08:00
d5c96ce5a4 util/size: define some constants for size (#37468) 2022-08-30 17:14:23 +08:00
f600a5c09f executor: check memory limit before expand string set in HashAgg (#37298)
ref pingcap/tidb#35635
2022-08-30 11:44:23 +08:00
ac6806fcfb planner: fix wrong result when enabling dynamic mode in partition table for tiflash (#37442)
close pingcap/tidb#37254
2022-08-30 11:00:23 +08:00
42b6883057 planner: allow requesting MPP task for simple selection or projection operator (#37422)
close pingcap/tidb#35875
2022-08-30 10:42:23 +08:00
a1af5af862 executor: support single precision value in json agg (#37389)
close pingcap/tidb#37287
2022-08-29 14:56:22 +08:00
ccd4f347a2 *: Enable tiflash_fastscan variable and remove fast mode alter statment (#37027)
ref pingcap/tidb#35850
2022-08-29 11:28:22 +08:00
2858bc1571 *: refine mock session manager (#37400) 2022-08-26 15:06:21 +08:00
c29c1fa606 testkit,executor: add MustQueryWitnContext API and fix unstable test TestCoprocessorPriority (#37382)
close pingcap/tidb#36974
2022-08-25 17:36:21 +08:00
4c8c918c43 executor: add conversion to opaque value for json_objectagg and json_arrayagg (#37337)
close pingcap/tidb#25053
2022-08-25 17:20:22 +08:00
a89ef1f276 *: support ACCOUNT (UN)LOCK when creating/altering user (#37052)
close pingcap/tidb#35961, close pingcap/tidb#37051
2022-08-25 16:12:22 +08:00
7d9c68446a executor: fix unstable TestGlobalMemoryTrackerOnCleanUp (#37372)
close pingcap/tidb#36585
2022-08-25 14:30:22 +08:00
d435267600 statistics: track used stats status during query (#37101)
ref pingcap/tidb#36481
2022-08-25 12:14:21 +08:00
eb8fc860ed executor: let plan replayer record table tiflash replica (#37336)
close pingcap/tidb#37255
2022-08-24 22:10:21 +08:00
25dda978ff types: fix a bug in casting str2str when union (#37242)
close pingcap/tidb#31678
2022-08-24 18:26:21 +08:00
75c70ecd0a executor: reduce a place of object allocation for HashAggExec (#37300)
close pingcap/tidb#37299
2022-08-24 13:06:20 +08:00
81a93a6977 executor, util: fix UnionScan Next() skip reading data when passed chunk capacity is 0 (#36961)
close pingcap/tidb#36903
2022-08-24 12:38:21 +08:00
285a02fa30 *: fix global temp table will read tikv after schema change (#37312)
close pingcap/tidb#37306
2022-08-24 12:08:20 +08:00
afc3276d9f *: enable linter for executor/aggregate.go (#37015) 2022-08-23 22:20:21 +08:00
45588a1f8e executor: let plan replayer support view (#37224)
close pingcap/tidb#37163
2022-08-23 19:44:20 +08:00