f7e22e1ebf
planner: fix {index,hash,merge} join on range suffix condition clustered index ( #23294 )
2021-03-16 17:42:55 +08:00
5bafb3203e
planner: show cast type in EXPLAIN in coptask ( #23123 )
2021-03-16 16:16:55 +08:00
cd199b23aa
planner: not push down mpp/join to TiFlash in some cases that TiFlash not supported the query ( #23259 )
2021-03-12 21:34:55 +08:00
fcf60e0a27
planner, table: set PrimaryPrefixColumnIds correctly ( #23250 )
2021-03-12 21:18:55 +08:00
689a5983e1
planner: fix the bug that wrong collation is used when try fast path for enum or set ( #23217 )
2021-03-12 20:00:55 +08:00
f77bbc4cb2
planner/core: pass the elems info to fieldtype only for exchanger ( #23203 )
...
* planner/core: pass the elems info to fieldtype only for exchange receiver.
* address comments
* address comments
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-03-12 18:50:53 +08:00
276dd0e69e
util: optimize the performance of restore with db ( #22910 )
2021-03-12 16:46:56 +08:00
920b70d97c
planner: set right null flag for constant value ( #23172 )
2021-03-12 16:10:55 +08:00
22ff880fee
planner: fix analyze clustered index table can't trigger index primary ( #23254 )
2021-03-12 07:45:35 +08:00
362883c245
expression, planner: allow pushdown count distinct when enumerate physical plans ( #22867 )
2021-03-11 19:22:55 +08:00
07b19e0f90
config: disable prepare plan cache by default ( #23240 )
2021-03-11 16:26:19 +08:00
32d54d2b78
planner: fix a panic caused by unmatched FieldNames and ColsInfo in partition pruning ( #23242 )
2021-03-11 14:47:25 +08:00
d1297376f1
planner: Fix problem that MPP query cannot work with STATEMENT_SUMMARY properly ( #23229 )
2021-03-10 20:24:55 +08:00
219aea4a1e
executor: fix analyze prefix clustered index get wrong histogram buckets ( #23194 )
2021-03-10 19:19:59 +08:00
587010f8e2
planner: fix prepared execute panic when sql without clustered pk condition ( #23185 )
2021-03-10 19:10:29 +08:00
f6a61bc915
plan/core: support mpp group by expressions. ( #23133 )
...
* planner/core: make mpp support grouping by expressions
* add tests
* fix typo
* fix
* fix test
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-03-10 17:06:15 +08:00
f8da635f5a
*: refactor and fix the usages of DecodeIndexKV for clustered index ( #23096 )
2021-03-10 16:46:55 +08:00
50d840f81b
planner: fix incorrect duration between compare ( #22830 )
2021-03-10 15:54:55 +08:00
a67f8e6839
planner: fix indexJoin(also hash, merge) on prefixed clustered index ( #23094 )
2021-03-09 19:42:55 +08:00
2a909bf2f1
Privileges: fix delete privilege check wrongly ( #22971 )
2021-03-09 19:26:55 +08:00
1e985673ea
planner: fix query range partition table got wrong result and TiDB panic ( #22953 )
2021-03-09 18:30:55 +08:00
1ca62a09ff
planner: fixed a bug that prevented SPM from taking effect ( #23197 )
2021-03-09 17:56:55 +08:00
9ac5b7ae36
planner: fix wrong table filters for index merge plan ( #23132 )
2021-03-08 15:50:56 +08:00
b3d4458b28
planner: refine explain info for batch cop ( #20360 )
2021-03-08 15:30:54 +08:00
3b016a9a02
planner: fix panic when building index merge plan ( #23141 )
2021-03-08 11:50:54 +08:00
ae50555f8a
planner: fix linter --enable=deadcode check error ( #23117 )
2021-03-08 11:34:54 +08:00
4184f279b3
test: make test TestUpdateWithTableReadLockWillFail stable ( #23122 )
2021-03-07 15:30:54 +08:00
505955ad0b
planner: fix bug of mpp wrongly set schema of exchanger ( #22845 )
...
* planner: fix bug of mpp wrongly set schema of exchanger
* support outer join in mock engine
* add unit test
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-03-05 15:54:52 +08:00
bafa0cc49d
planner/core: let mpp support partition tables ( #22662 )
2021-03-04 20:56:54 +08:00
50aec2b2d2
planner: enable column pruning for common handle ( #22940 )
2021-03-04 14:42:54 +08:00
b5a9076aea
*: new secondary index value format ( #20220 )
2021-03-03 21:16:54 +08:00
93c1779f2d
*: support show stats_extended to inspect extended stats cache ( #23052 )
2021-03-03 20:06:58 +08:00
3f7a573caa
planner: fix range partition prune bug for IN expr ( #22894 ) ( #22938 )
2021-03-03 16:22:55 +08:00
d3fe2187a9
statistics: introduce a new kind of syntax to drop global-stats ( #23061 )
2021-03-03 14:50:54 +08:00
7daf7436da
planner: fix panic while get part of partition key values ( #22452 )
2021-03-03 14:15:24 +08:00
5b12f9224e
*: check tidb_enable_extended_stats in analyze and row count estimation ( #23029 )
2021-03-03 02:54:53 +08:00
602bcd2e40
*: fix some structcheck lint warnings ( #22983 )
2021-03-02 23:12:54 +08:00
d94920e4a9
statistics: support dropping partition/global level statistics ( #23023 )
2021-03-02 16:52:48 +08:00
8230f4162b
*: optimize analyze cluster index table ( #21381 )
2021-03-01 22:14:54 +08:00
550ca8eaeb
statistics: enables global-level stats to be generated in fast analyze mode ( #22931 )
2021-03-01 16:40:50 +08:00
6bd6df7d1e
planner: let tikv know primary prefix columns info ( #22829 )
2021-03-01 16:20:54 +08:00
bc37f088ba
*: fix some varcheck lint warnings ( #23011 )
2021-03-01 15:10:54 +08:00
e1004a2ccb
*: modify the switch to control global stats ( #22866 )
2021-03-01 14:18:30 +08:00
4b90ef471c
planner: include "CREATE/DROP TEMPORARY TABLE" to noop functions (##609) ( #22860 )
...
* planner: include "CREATE/DROP TEMPORARY TABLE" to noop functions (##609)
TiDB ignores the TEMPORARY keyword in "CREATE/DROP TEMPORARY TABLE" statements.
Report errors when and only when tidb_enable_noop_functions = OFF.
* Add link to pingcap/parser issue
Co-authored-by: bb7133 <bb7133@gmail.com >
Co-authored-by: bb7133 <bb7133@gmail.com >
Co-authored-by: Morgan Tocker <tocker@gmail.com >
2021-02-27 23:31:06 -07:00
8357f809ff
*: remove some useless codes and do tiny update ( #22972 )
2021-02-26 19:14:53 +08:00
d8c5ca34ed
planner/core: skip clustered index during admin check table ( #22871 )
2021-02-26 17:14:53 +08:00
8a490e96b5
parser: quote identifier with backquote when getting SQL digest ( #22893 )
2021-02-26 14:54:54 +08:00
df01fcc1ff
planner, executor: reset NotNullFlag when merge schema for join ( #22955 )
2021-02-25 23:17:55 +08:00
7151b4f3b5
config: use tidb_enable_list_partition to enable list table partition feature ( #22864 )
2021-02-25 22:11:04 +08:00
806097c2e5
planner: fix wrong index merge selection ( #22825 )
2021-02-24 20:18:03 +08:00