Commit Graph

3015 Commits

Author SHA1 Message Date
b42a81af9a *: remove useless code (#45710) 2023-08-01 11:22:15 +00:00
075a47e176 types: fix convert float to uint (#42063)
close pingcap/tidb#41733
2023-07-28 10:43:34 +00:00
2eb698c1d3 planner: support ScalarSubQuery to display them in EXPLAIN (#45252)
close pingcap/tidb#22076
2023-07-24 06:40:19 +00:00
2ff2d115ef planner: consider Unspecified length when setting length for unhex (#45449)
close pingcap/tidb#45378
2023-07-18 14:00:46 +00:00
7105505a78 expression: Add NotNullFlag in WrapWithCast* (#45355)
close pingcap/tidb#45194
2023-07-14 13:42:45 +00:00
752f6d1b9d planner: fix incorrect flen for the to_base64 function (#45363)
close pingcap/tidb#45253
2023-07-14 08:47:14 +00:00
d8b80a47a8 planner: physical expand support being converted to tipb.Expand2 (#44973)
close pingcap/tidb#45179
2023-07-05 10:05:14 +00:00
073a5f8b90 planner, expression: fix TableFullScan caused by extraHandleId not correctly found (#45139)
close pingcap/tidb#45036
2023-07-04 07:33:51 +00:00
6f7979436e planner: check whether values are const in constant propagation (#45119)
close pingcap/tidb#45086
2023-07-03 08:48:51 +00:00
8d6071a210 *: remove CorrelatedCol.HashCode to avoid potential bug (#45034)
close pingcap/tidb#45033
2023-06-30 16:23:12 +00:00
7e808b3f9f expression: split multi valued index test (#45008)
ref pingcap/tidb#44940
2023-06-28 06:22:07 +00:00
086cc20284 session,expression: Support IS_USED_LOCK function (#44495)
close pingcap/tidb#44493
2023-06-21 04:01:12 +00:00
xhe
b1b307a222 expression: fix cast negint to string (#44787)
close pingcap/tidb#44786
2023-06-20 13:50:53 +00:00
cea26f8ac1 *: fix cte nil pointer error when got multiple apply (#44782)
close pingcap/tidb#44774
2023-06-20 13:50:41 +00:00
ce99d5d25d planner: complete fall through into MPP task if up-layer can generate a cop tiflash (#44324)
close pingcap/tidb#37459
2023-06-20 12:46:11 +00:00
6e3d0eb306 planner: enhance projection explain-info when simple column projected again with a new unique-id (#44520)
close pingcap/tidb#44521
2023-06-19 12:08:41 +00:00
4fb009ca9e expression: change escape character from '$' to '\' for regexp_replace (#44719)
close pingcap/tidb#44684
2023-06-16 05:43:16 +00:00
465bd60df0 planner: support grouping function/col/expression rewriting and physical plan exhaustion for rollup expand OP (#44488)
close pingcap/tidb#44487
2023-06-12 08:51:10 +00:00
c7f2a2317d linter: enable early return (#44564)
close pingcap/tidb#40786
2023-06-12 05:43:05 +00:00
f320bbe469 linter: enable QF1012 (#44554)
ref pingcap/tidb#40786
2023-06-09 21:56:46 +00:00
aedbcd085b expression: refactor grouping function computation and update related tipb (#44436)
close pingcap/tidb#44437
2023-06-07 10:19:41 +00:00
8b67cea5e1 *: support check constraint in tidb (#44104)
ref pingcap/tidb#41711
2023-06-07 08:51:42 +00:00
1c223c75c8 expression: Switch on the pushdown for first_value() and last_value (#44157)
close pingcap/tidb#44156
2023-06-07 07:03:41 +00:00
fcd20a3189 linter: enable qf1004 (#44447)
ref pingcap/tidb#40786
2023-06-06 11:28:00 +00:00
d01f0c0431 planner: add logical expand operator for rollup (#44216)
close pingcap/tidb#44214
2023-06-05 07:05:40 +00:00
4c83352678 *: Introduce runaway statement in resource group (#43843)
ref pingcap/tidb#43691
2023-05-31 11:16:42 +00:00
e3776f3abb sessiontxn/staleread: more accurate stale ts (#44272)
close pingcap/tidb#44215
2023-05-30 09:38:41 +00:00
a2c01c310f expression: fix time range check for UNIX_TIMESTAMP (#44003)
close pingcap/tidb#43987
2023-05-29 12:20:41 +00:00
6888a1aa6b test: fix TestIfFunctionWithNull (#44229)
close pingcap/tidb#44226
2023-05-29 03:12:40 +00:00
1f5e6f7f73 expression: modify the grouping function to receive uint64 and add more test about grouping sets nullability (#44179)
close pingcap/tidb#44184
2023-05-25 12:29:40 +00:00
4d9a1f1f34 expression: Support capture group in regexp_replace (#43671)
close pingcap/tidb#43670
2023-05-24 14:41:39 +00:00
1b0e019375 expression: add rollup grouping sets util (#44105)
close pingcap/tidb#44112
2023-05-24 11:49:39 +00:00
a8898239e2 zeropool: better Pool to improve performance (#44036)
close pingcap/tidb#44042
2023-05-24 04:19:39 +00:00
6bc2a3181d expression: fix bench test (#44045) 2023-05-22 09:13:39 +00:00
f09d950add executor,util: Correct error for MAX_EXECUTION_TIME (#43041)
close pingcap/tidb#43031
2023-05-18 16:33:36 +00:00
0f3a2da959 planner, expression: fix wrong fieldtype after aggregationPushDownSolver (#43906)
close pingcap/tidb#43805
2023-05-18 10:43:43 +00:00
6dd84b6fef *: add encode SQL digest function (#43194)
close pingcap/tidb#43193
2023-05-16 20:53:17 +00:00
0490add66d planner: skip plan-cache if some predicates are converted to True/False when constant propagation (#43875)
close pingcap/tidb#43852
2023-05-16 13:27:17 +00:00
6f83874c03 *: ignore some ttlworker in the goleak (#43857)
close pingcap/tidb#43855
2023-05-16 05:47:17 +00:00
bec5bb9e58 planner: enable constant propagation for plan cache parameters (#43009)
close pingcap/tidb#43520, close pingcap/tidb#43522
2023-05-09 02:36:58 +00:00
a7b957a9b8 expression: add simple expression semantic equal check logic (#43558)
close pingcap/tidb#43572
2023-05-06 08:30:57 +00:00
cb609bb39c *: add tidb_row_checksum() as a builtin function (#43479)
ref pingcap/tidb#42747
2023-05-05 07:03:56 +00:00
b901431398 *: use time.DateTime,time.DateOnly to replace magic number (#43505) 2023-05-04 03:21:55 +00:00
4e30d7baa1 expression: prepare grouping function for roll up (#42464)
close pingcap/tidb#42463
2023-04-27 10:31:53 +00:00
355958af52 *: fix warning message when to meet strconv.ErrRange (#43391)
close pingcap/tidb#40582
2023-04-25 09:17:52 +00:00
4f2ef40a0f *: fix warning message when to meet strconv.ErrSyntax (#43358)
close pingcap/tidb#41730
2023-04-24 12:16:01 +00:00
36659e8c7f planner: use the correct fraction for decimal values in plan cache (#43329)
* fixup

* fixup

* make linter happy
2023-04-23 12:00:43 +00:00
98250894b5 fix: fix global index scan, index join, and dml in drop partition (#41992) 2023-04-23 03:06:44 +00:00
0423a09188 planner, statistics: add more debug trace (#43200)
ref pingcap/tidb#43069
2023-04-20 06:11:20 +08:00
bdd41f82d1 expression: fix index out of range for AES_DECRYPT (#43086)
close pingcap/tidb#43063
2023-04-18 09:37:18 +08:00