Commit Graph

3396 Commits

Author SHA1 Message Date
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
93c3e6becd *: fix default decimal precision (#21162) 2020-11-21 21:07:54 +08:00
2c66371d8b planner, sessionctx : Add 'last_plan_from_binding' to help know whether sql's plan is matched with the hints in the binding (#18017) 2020-11-20 20:43:23 +08:00
22feeb4aef executor:Add runtime stat for IndexMergeReaderExecutor (#20653)
Signed-off-by: jyz0309 <45495947@qq.com>
2020-11-19 19:36:54 +08:00
49a1527893 expression: adjust int constant when compare with year type (#21099) 2020-11-19 19:04:53 +08:00
38bbb0dd21 planner: ban (index) merge join heuristically when convert eq cond to other cond (#21138) 2020-11-19 17:17:53 +08:00
2e918a2e8f executor: specially handle empty input for apply's outer child aggregate (#20544) 2020-11-19 13:54:23 +08:00
7475d92393 *: inject projection for the plan pushed to TiDB (#21090) 2020-11-19 11:27:53 +08:00
e6e894dcc4 executor: add missing update table delta for TxnCtx (#20982) 2020-11-19 10:58:45 +08:00
dy
a426a0e5ff planner: disallow multi-updates on primary key (#20603) 2020-11-17 18:33:53 +08:00
de75e604ff *: differentiate types for user variables (#18973)
Co-authored-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-11-17 17:03:41 +08:00