Commit Graph

3361 Commits

Author SHA1 Message Date
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
c23394e954 test: migrate tiflash mock test from mocktikv to unistore (#21038) 2020-11-17 16:05:58 +08:00
f1a0a28af4 executor, planner: do not coalesce column for update/delete natural_using_join (#21085) 2020-11-17 15:36:57 +08:00
f72cec77b6 *: support SQL bind for Update / Delete / Insert / Replace (#20686) 2020-11-17 15:19:04 +08:00
ee5d026855 executor: fix unstable test of TestIntegrationCopCache (#21071) 2020-11-17 12:02:27 +08:00
d5684efe49 executor: fix a potential DATA RACE in TestFastAnalyze (#21023) 2020-11-17 10:21:26 +08:00
e136429d8d *: refactor parser initialize method and add tidb_enable_strict_double_type_check variable (#20967) 2020-11-16 19:58:27 +08:00
7c88ca7974 ddl, session: set charset and coordinate collation (#21034) 2020-11-16 19:03:26 +08:00
f0bef40d6b dep: update etcd and other dependencies for lightning and CDC (#21076) 2020-11-16 17:25:27 +08:00
41786cb976 *: seperate hash keys from join keys in IndexJoin (#20761) 2020-11-16 16:24:51 +08:00
dfc3bbdee6 util, executor: parse set value correctly in HashChunkRow (#21048) 2020-11-16 14:51:26 +08:00
31ddba99da executor: fix The JSON Data can not import to TiDB correctly by load data (#21043) 2020-11-16 12:07:28 +08:00
83ceede82d session, variables: Stream agg concurrency variable (#20960) 2020-11-16 10:30:24 +08:00
975bbaf294 ddl: release memory cache for all tidb-servers when unlock tables (#21006)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-13 18:06:05 +08:00
5080730715 executor: fix the display of large unsigned handle when show table regions (#21026) 2020-11-13 15:26:25 +08:00
2a185ec4cf executor, expression: Fixed the warning messages when calling date_add function failed (#20418) 2020-11-13 12:04:34 +08:00
a81c89f89b ddl: support column type change from date time type to other types (#20778) 2020-11-12 19:06:42 +08:00
c8545947a1 executor, planner: fix some cases for natural_using_join (#20977) 2020-11-12 18:03:58 +08:00
3ef3e54b5e planner: don't push down null sensitive join conditions (#19620) 2020-11-12 17:16:31 +08:00
ef57bdbbb0 *: fix somes bugs related to the clustered index and the new collation (#20934) 2020-11-12 15:18:15 +08:00
15abd8ba55 executor: stablize TestDropStatsFromKV (#21004) 2020-11-12 14:29:23 +08:00
160cb9b814 *: fix set tidb_general_log not work (#20993)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-12 13:54:23 +08:00
269494e3de *: Move sysvar validation to struct (3 of 3) (#20521) 2020-11-12 13:22:42 +08:00
f81a5d1314 planner: check view recursion when building source from view (#20398) 2020-11-12 10:44:23 +08:00
e608e4bca9 ddl: fix the enum's default value where create table (#20849) 2020-11-11 20:18:17 +08:00
7ab3649256 executor, types: fix skipped replace when the value is treated as the same in CI collations (#20858) 2020-11-11 19:38:23 +08:00
d184120a99 ddl: use kv.Key as reorg progress marker instead of kv.Handle (#20908) 2020-11-11 18:47:23 +08:00
dy
a3facd0f71 expression, planner: fix decimal results for aggregate functions (#20017) 2020-11-11 14:46:22 +08:00
c554481392 executor: update memory usage in batch insert/delete (#20866) 2020-11-11 13:11:40 +08:00
611d24911e store, executor: Fix TestCoprocessorOOMAction may get stuck. (#20897) 2020-11-11 11:07:15 +08:00
ee77412f54 executor, kv, store/tikv: support cache for point select (#20396) 2020-11-11 10:41:49 +08:00
9007614f95 executor: fix wrong is-null result of ShowExec.fetchShowIndex (#20287) 2020-11-10 17:51:12 +08:00
658a4ce26a executor: fix unexpected results when do index merge join on outer join (#20581) 2020-11-10 14:25:17 +08:00
4d9d3d8c26 executor: fix panic in BenchmarkWindowFunctions BenchmarkWindowFunctionsWithFrame and BenchmarkWindowRows 2020-11-10 11:37:37 +08:00
8d35f17c17 Update the errors dependence to the latest version (#20917) 2020-11-10 09:50:39 +08:00
f140db6fce executor: fix issue of runtime stats of index merge join is wrong (#20892)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-11-09 23:27:54 +08:00