Commit Graph

3406 Commits

Author SHA1 Message Date
8eaca0ecd4 executor: rename 'tryDecodeFromHandle' param to fix name shadow (#21567) 2020-12-08 21:59:48 +08:00
f51bdfc514 executor: do not read from lock cache when snapshot read (#21529)
Signed-off-by: you06 <you1474600@gmail.com>
2020-12-07 20:17:17 +08:00
b28f8adfed expression: set flen to -1 when cast float to string (#21409) 2020-12-07 16:38:21 +08:00
c7cdbe7278 executor: stabilize test TestSetVar (#21493) 2020-12-07 14:30:18 +08:00
0deb0a3426 expression: fix compatibility behaviors in zero datetime with MySQL (#21220) 2020-12-07 14:13:43 +08:00
8ec67d63bb executor: stabilize TestInsertIntoGivenPartitionSet (#21505) 2020-12-07 10:57:18 +08:00
62fd2b7359 execution: fix Out of range error message is not informative enough (#21343) 2020-12-04 20:29:47 +08:00
43a562f60e *: fix cancel query slow_query doesn't release resource and tiny optimize (#21456) 2020-12-04 15:04:12 +08:00
541efe8d2a executor: make TestPointGetReadLock stable (#21491)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-12-04 13:55:17 +08:00
22e5ebd310 *: use the Local TSO to update ForUpdateTS (#21490)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2020-12-04 13:41:47 +08:00
83814613e1 executor, store/tikv: locks exist keys for point_get & batch_point_get (#21229)
Signed-off-by: you06 <you1474600@gmail.com>
2020-12-03 21:28:48 +08:00
65a3a7d9a4 planner: fix join with using clause didn't check ambiguous columns (#21411) 2020-12-03 18:05:48 +08:00
5f73293cf5 ddl: check the generated column offset when modifies column (#21458)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-03 17:30:48 +08:00
c218c58218 *: support select from tablesample (#20883) 2020-12-03 16:46:18 +08:00
72d4504f45 planner: fix explain-hint panic for joins generated by subquery (#20675) 2020-12-03 15:18:37 +08:00
61f076e14f executor: fix test problems in TestIssue20658 (#21442) 2020-12-03 11:45:17 +08:00
0c3c4c588a *: Let binary literal can be convert to enum and set (#20789) 2020-12-02 20:15:18 +08:00
6fb60a3272 ddl: fix create list partition bug and add more test (#21398) 2020-12-02 15:21:08 +08:00
550c2c0c10 planner: natural join not consider rowid and null eq not propagate (#21328)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-02 12:18:48 +08:00
549a34f1e8 executor: fix duplicate error message in warnings (#20920)
Co-authored-by: wjHuang <huangwenjun1997@gmail.com>
2020-12-02 11:02:38 +08:00
90c7987763 executor: add SHOW STATS_TOPN (#21403) 2020-12-01 17:02:51 +08:00
c94e0df372 executor: fix test problems in TestIssue20658 (#21405)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-12-01 13:06:22 +08:00
546b8b5ab7 *: close transaction for all auto-committed SQLs (#21378)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-30 21:33:28 +08:00
1c8fb2bd2d executor: fix test problems in TestIssue20658 (#21371) 2020-11-30 15:27:59 +08:00
c9288d246c executor: add unit test and benchmark for shuffle merge join (#21360) 2020-11-29 23:11:22 +08:00
b87849868c executor: add benchmark for partitionRangeSplitter (#21363) 2020-11-29 22:54:04 +08:00
0c0e29d363 executor, planner: add partitionRangeSplitter for shuffle (#21306) 2020-11-29 16:39:16 +08:00
29a83c2cd8 executor hptc ycsb-worloade: Make use of AppendRows in all cases (#21163) 2020-11-29 16:21:00 +08:00
b204df7051 executor: Implement AppendRows for Chunk (#21057) 2020-11-28 15:14:59 +08:00
32d19b78e1 *: refine runtime stats display and tiny bug fix for metrics (#21022)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-11-26 16:35:25 +08:00
4af99998d5 store, executor: Add rateLimitAction Ticase (#20901) 2020-11-26 13:56:51 +08:00
4754cda0b3 executor,planner: fix resource leak of shuffle and optimize merge join by shuffle (#21255) 2020-11-26 10:46:19 +08:00
ceefbf1591 executor: Add the HashAggExec runtime information (#20577) 2020-11-25 21:56:52 +08:00
4dfb172d9a errno: show column name in redacted duplicate entry error (#21261) 2020-11-25 21:39:23 +08:00
1689eeab6f executor: fix cannot use explain for with the statement queried by explain analyze (#21052) 2020-11-25 21:24:07 +08:00
e01f5e41c2 store, session: Introduce system variable to control ratelimit action (#21259) 2020-11-25 20:27:38 +08:00
0cddd8b7fb statistics: fix the panic when analyze with collation enabled (#21262) 2020-11-25 20:10:20 +08:00
af58658b63 *: implement priority control for OOM Action (#21170) 2020-11-25 19:44:26 +08:00
f9cd7ed69d planner, executor: parallelize stream aggregation with shuffle. (#21095) 2020-11-25 15:37:51 +08:00
72794461eb *: support read only lock (#21100)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-25 10:06:54 +08:00
83c1652633 expression, executor: allow insert strings with overflowed trailing spaces (#20987) 2020-11-24 18:06:16 +08:00
d12eb1b174 executor: Fix IndexMergeReader works incorrectly under RC isolation level (#21208)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2020-11-24 17:39:54 +08:00
115c7f88e8 executor: set the inner join keys' field length to unspecified (#21233) 2020-11-24 17:00:53 +08:00
65c8cb6354 store, executor: refactor ratelimitAction (#21168) 2020-11-24 16:20:00 +08:00
afb2ab95f0 table: fix zero date in different sqlmode (#20206) 2020-11-24 12:46:51 +08:00
ceddc106f0 executor,planner/core,util/plancodec: extend executor.ShuffleExec and planner.core.PhysicalShuffle to support multiple data sources (#20942) 2020-11-24 10:59:03 +08:00
ea3e4fa519 executor: fix bug when parsing the slow logs if the logNum is small (#20959) 2020-11-23 15:43:14 +08:00
4caa23e8d2 session: add encoded plan cache to avoid repeated encode plan when recording slow-log and statement (#21139) 2020-11-23 15:30:27 +08:00
1cdc15baaa planner: DELETE cannot delete data in some cases when the database name is capitalized (#21202)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-11-23 14:59:39 +08:00
6910eae2a1 executor: load data statement shoule not be prepared (#21188) 2020-11-23 13:49:56 +08:00