008b91b12b
planner: fix "can't find column" when projection wrongly added above table reader after agg pushed down ( #23804 )
...
* add test and comments
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-04-01 23:42:17 +08:00
cd5b91fa03
executor, planner: fix collation for hash join building ( #23770 )
2021-04-01 21:48:10 +08:00
653953f675
planner: build correct MaxOneRow info from multi-column conditions ( #22915 )
2021-04-01 18:33:24 +08:00
90d02b2eed
*: add support for dynamic privileges ( #22778 )
2021-04-01 00:17:24 +08:00
4130033736
planner: fix wrong IndexScan plan reused in plan cache ( #23758 )
2021-03-31 22:07:24 +08:00
51bf619051
planner: fix set not null flag for outer join ( #23727 )
2021-03-31 19:33:24 +08:00
c660cee89b
planner/core: fix a bug during add cast for decimal join key ( #23723 )
2021-03-31 17:54:26 +08:00
3ed4a23b95
executor: refineArgs() bug fix when compare int with very small decimal ( #23694 )
2021-03-30 20:53:24 +08:00
a59c4df134
planner: set schema column be the same with new expr one ( #23679 )
2021-03-30 19:25:24 +08:00
37bf124b73
planner: fix the panic when we calculate the partition range ( #23651 )
2021-03-30 18:03:24 +08:00
60111e1c4b
planner: fix the issue that planner hints don't work in some batch/point-get plans ( #23666 )
2021-03-30 17:46:14 +08:00
67874c579a
executor: fix a panic when batch point get is used for partition table ( #23652 )
2021-03-30 17:25:24 +08:00
a234ce62ff
planner, type: remove the prefix 0 in the bit array when we get the BinaryLiteral ( #23523 )
2021-03-30 12:01:24 +08:00
a49effd47e
planner, util/ranger: apply PushDownNot to condition before pruning partition ( #23628 )
2021-03-29 20:47:24 +08:00
44f81cb9d9
planner, table: optimize the list column partition pruner for range query ( #22294 )
2021-03-29 17:25:23 +08:00
32a9c3d13c
expression: separated arithmeticModIntSig ( #22137 )
2021-03-29 17:07:24 +08:00
bc07307ec9
planner: fix bug that mpp avg will throw column index out of bound error ( #23604 )
2021-03-27 15:35:23 +08:00
8492619a83
store, plan: make mpp workable when some node is not available shortly. ( #23589 )
...
* store: provide an option to enable tiflash replica balance
* change timeout error
* fix non-table test
* add comments
* fix dev
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-03-26 21:27:49 +08:00
6cdfaab99f
planner: fix correlated columns in filter or access in MPP apply ( #23509 )
2021-03-26 20:21:24 +08:00
961cd66393
executor,planner: fix update join update unmatched outer row ( #23491 )
2021-03-26 19:43:23 +08:00
fe250b9efb
planner: fine grained collation control for mpp plan ( #23584 )
2021-03-26 18:31:23 +08:00
b11c71d23e
MPP: fix 2-phase agg chose wrong partition column during planning ( #23557 )
2021-03-26 17:49:23 +08:00
aee5819a20
*: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY ( #23529 )
2021-03-26 15:59:24 +08:00
82bfdcab37
executor: fix update panic on join having statement ( #23554 )
2021-03-26 12:47:24 +08:00
a909037110
planner/core: inject project for tiflash agg ( #23480 )
2021-03-26 12:31:23 +08:00
40b92181d0
planner/core: convert decimal type for mpp join before shuffling. ( #23191 )
...
* planner: convert decimal type for mpp join before shuffling.
* fix bug and add code
* add some comments
* fix typo
* fix test
* add test and fix
* address comments
* add more tests
* address comments
* address comments
* address comments
* address comments
* add tests
* refine test
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-03-26 00:16:58 +08:00
a90e4f2b29
telemetry: fix prepare stmt and copr cache ( #23526 )
2021-03-25 16:15:15 +08:00
47749a156a
partition: fix hash partition with not between condition get wrong result ( #22914 )
2021-03-25 11:53:23 +08:00
4b7a3767b0
telemetry: Fix window algorithm ( #23518 )
2021-03-25 11:37:23 +08:00
35eded065e
*: fix structcheck lint warnings ( #23062 )
2021-03-24 21:09:37 +08:00
1cebae21a7
planner, sessionctx: turn on the mpp by default ( #23401 )
2021-03-23 21:01:37 +08:00
5243049e18
telemetry: add copr-cache, tiflash, cluster index, async commit ( #23454 )
2021-03-23 20:27:07 +08:00
d7883fe146
planner: fix only_full_group_by check not enough ( #23404 )
2021-03-23 13:17:36 +08:00
42be9a4a8d
planner: fix plan cache not working caused by type difference ( #23175 )
2021-03-22 20:29:36 +08:00
9f465d788e
planner: incorrect results returned when executing a prepared point-get update meets nondeterministic function. ( #22067 ) ( #23455 )
2021-03-22 19:57:37 +08:00
b983856ddf
store/tikv:mv kv.ReplicaReadType to tikv ( #23376 )
2021-03-19 21:19:36 +08:00
92b1b8e0e9
planner: check schema stale for plan cache when forUpdateRead ( #22381 )
2021-03-19 17:25:36 +08:00
6ba51c8eac
plan: setting not null flag for extrak pk ( #23237 )
2021-03-18 17:27:36 +08:00
4baa3d34fb
planner: fix statement-optimize not work in TryFastPlan ( #20905 )
2021-03-18 16:00:57 +08:00
28c3748496
planner: remove some risky cache operations in the plan builder ( #23354 )
2021-03-18 15:35:11 +08:00
1ac53c546d
planner: fix wrong PointGet / TableDual plan reused in plan cache ( #23238 )
2021-03-17 16:52:55 +08:00
9f7ed0f44a
planner: push aggregation operators down to projection by default ( #22090 )
2021-03-17 16:20:56 +08:00
2890a8f62c
executor: fix get var expr when session var is hex literal ( #23241 )
2021-03-17 15:02:55 +08:00
f30108d88c
executor, expression: fix the incorrect result of AVG function ( #23285 )
2021-03-17 13:42:55 +08:00
9c48b24cb1
*: add clustered index info in show index from stmt ( #23329 )
2021-03-16 20:16:55 +08:00
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