Commit Graph

3236 Commits

Author SHA1 Message Date
5ad75fd215 ddl, executor: add error for functional index cannot refer to an auto-increment column (#20336)
Signed-off-by: lihaowei <haoweili35@gmail.com>
2020-10-09 08:14:40 +08:00
01fdea7b6c executor: show varchar instead of var_string (#19921) 2020-10-04 17:34:03 +08:00
247a26ec70 util: reset the unused bytes in writeTime (#20284) 2020-10-04 13:36:12 +08:00
170e2fec92 *: collect multiple partitions and store in tidb (part II) (#19899) 2020-09-29 21:25:56 +08:00
c8221fab81 ddl: support column type change between decimal && SQL mode warnings (#20012) 2020-09-29 15:56:35 +08:00
f2d4e47247 distsql: add metrics for coprocessor cache (#19979) 2020-09-29 14:39:23 +08:00
fa81ec51b4 *: refactor sysvars to allow component registration (#20289) 2020-09-29 14:04:24 +08:00
132d9817d7 executor: support partition pruning for IndexJoin inner table (#19990) 2020-09-29 11:08:53 +08:00
17b7b5e815 *: add executor runtime info for explain for connection statement (#19183) 2020-09-27 20:44:11 +08:00
fd0a18a90c types: fix FLOAT data overflow check (#20067) (#20158) 2020-09-27 18:57:42 +08:00
0017a1717e *: fix the bug about the insertRuntimeStat.String() (#20190)
Signed-off-by: jyz0309 <45495947@qq.com>
2020-09-27 18:48:43 +08:00
7e534d98ae executor: fix unstable TestCoprocessorOOMAction (#20238) 2020-09-27 18:43:27 +08:00
486e473a86 session: fix panic when storing outdated plans from plan cache (#19296) 2020-09-27 14:56:02 +08:00
713c2378f6 planner: let SQL BINDING support UNION ALL/INTERSECT/EXCEPT (#20010) 2020-09-27 13:58:37 +08:00
4ff2f926e2 executor, expression: set the evalType of hybrid type as ETInt in VecEvalBool (#20221) 2020-09-27 11:31:16 +08:00
32d86e26c2 *: fix message for duplicate entry error (#20203)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-25 16:10:56 +08:00
47a182f76a executor: fix a bug that the generated column doesn't handle bad null value (#20193)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-09-25 15:57:36 +08:00
10fd834463 executor: fix sort result for batch-point-get by unsigned pk (#20108) 2020-09-24 22:00:08 +08:00
0b7c7167d1 planner,executor: support global index for IndexScan and IndexLookUpReader (#19821) 2020-09-24 20:50:28 +08:00
aceecf0732 executor: support new aggregate funtion APPROX_PERCENTILE (#19799)
Signed-off-by: leiysky <leiysky@outlook.com>
2020-09-24 15:59:38 +08:00
bb354b0c30 *:Record the time consuming of memory operation of Insert Executor in Runtime Information (#19574) 2020-09-23 20:57:40 +08:00
92a04ef024 trace: tee logs to runtime/trace output (#19994) 2020-09-23 18:45:38 +08:00
6271bd472e expression: fix inaccurate error info for year column out of range (#18871) 2020-09-23 15:52:30 +08:00
fd0299f58e *: remove simple rewriter (#19828) 2020-09-23 12:17:53 +08:00
640cb42f54 executor: do not reorder handles when building requests for IndexMergeJoin (#20138) 2020-09-22 15:11:59 +08:00
650515a420 executor: fix data race in test (#20142) 2020-09-22 14:58:38 +08:00
205f02125f executor: add an OOMAction for copIterator to adaptive control the memory usage (#19246) 2020-09-22 14:27:55 +08:00
1d5b724e82 executor: implement meldata for jsonobjectagg funcs to track memUsage (#19819) 2020-09-22 10:42:08 +08:00
91b6d9eedc executor: fix unexpected 'invalid auto-id' error in pessimistic txn retry (#20123) 2020-09-22 10:21:41 +08:00
4ec101d7e3 planner: support parentheses change precedence for set operators (#18968) 2020-09-21 13:06:10 +08:00
0e4b809cad *: remove expression index out of the experiment feature (#19998)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-09-18 13:25:37 +08:00
0684dba6c8 util/ranger: extract multi-column DNF conditions as access conditions (#19211) 2020-09-17 20:08:34 +08:00
3903c6b8b5 statistics: fix the display of bounds for indexes with date/time columns. (#19961) 2020-09-17 19:01:26 +08:00
0cba76107b executor: improve test coverage for partition table code (#20006) 2020-09-17 18:43:38 +08:00
ef7772dca4 kv: fix unsafe operation on value returned from memdb (#20063) 2020-09-17 17:18:04 +08:00
1c842919eb executor: fix hint not working in prepared statement (#19935) 2020-09-17 13:40:48 +08:00
f0db8c68e1 store/tikv: fix rpc runtime stats collect (#20014) 2020-09-16 13:47:05 +00:00
205c40186a *: support aggregate function stddev_samp() and var_samp() (#19810)
Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-16 17:44:41 +08:00
1bfeff96c7 executor: trace memory usage of lag/lead agg (#19966) 2020-09-16 15:12:39 +08:00
4b7c5db8ab planner: add cluster index in explain info of point get plan (#19867) 2020-09-16 12:23:09 +08:00
c679f847fc *: Bug Fix/CLUSTER_INFO system table may not work after PD is scaled-in (#19355) 2020-09-16 11:50:03 +08:00
31a91d825c config: remove pessimistic-txn.enable in config (#20008)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-09-16 10:53:08 +08:00
aed24e46e2 executor: fix query slow_query error when slow-log file not exist (#20000)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-09-15 20:45:00 +08:00
70a567e4cb session: refine error message desensitization (#19409) 2020-09-15 16:00:01 +08:00
3c04ec45b9 sessionctx, executor: tidb_dml_batch_size global (#19816) 2020-09-15 13:46:08 +08:00
b99376b521 executor: add metric definition in metric profile (#19978)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-09-14 17:51:08 +08:00
2a3a5ab076 *: disable new partition prune in master distribution (#19911) 2020-09-14 16:26:54 +08:00
1c9c5e39af executor: fix clustered index with new collation bug (#19955) 2020-09-14 15:41:07 +08:00
64c2cc5cbc sessionctx,store,kv: add a session variable to export last txn info (#19949)
Signed-off-by: zyguan <zhongyangguan@gmail.com>
2020-09-14 13:04:05 +08:00
c713018a9c executor: fix the unit test of the rank funcs memUsage tracking (#19896) 2020-09-14 12:45:05 +08:00