Commit Graph

3035 Commits

Author SHA1 Message Date
5dd429688a *: use cmp.Compare to replace types.Compare (#46657)
ref pingcap/tidb#45933
2023-09-05 07:47:27 +00:00
302786ffb9 expression: Add TIDB_PARSE_TSO_LOGICAL() function (#46452)
close pingcap/tidb#46451
2023-09-04 14:45:41 +00:00
587eacf6ba bootstrap: change SupportUpgradeHTTPOpVer to fix upgrade error (#46622)
close pingcap/tidb#46621
2023-09-04 12:33:52 +00:00
ac6741a681 expression: make TestGetLock more stable (#46624)
ref pingcap/tidb#35155
2023-09-04 10:14:28 +00:00
60b1019ec1 tests: rewrite some expression IT, move them to UT (#46597)
ref pingcap/tidb#45961
2023-09-01 11:47:21 +00:00
28a9c7f0fb planner: fix cast(col) = range couldn't build range when cast function doesn't contain any precision loss in some cases (#46303)
close pingcap/tidb#45199
2023-08-31 04:06:39 +00:00
c11a999288 *: use std/slices to replace exp/slices (#46433)
ref pingcap/tidb#45933
2023-08-28 02:26:06 +00:00
31908855ed expression: support member_of pushdown to tikv (#46308)
close pingcap/tidb#46307, close pingcap/tidb#46316
2023-08-24 08:51:35 +00:00
3e5c7512d5 *: Remove and add partitioning (#42907)
close pingcap/tidb#42616
2023-08-18 09:54:31 +00:00
deba2b0811 expression: Replace initialzied with initialized (#46208) 2023-08-18 04:48:31 +00:00
f6b953c340 expression: WEIGHT_STRING() collation (#45733)
close pingcap/tidb#45725
2023-08-17 13:24:31 +00:00
cb8e85d88a planner: grouping function should be recreated with args, retType and metadata (#45848)
close pingcap/tidb#45756
2023-08-17 10:02:01 +00:00
6fd1924d91 util/collate: implement utf8mb4_0900_ai_ci collation (#45650)
close pingcap/tidb#37566
2023-08-15 10:02:02 +00:00
0455d93078 expression: enable revive for part (#46086)
ref pingcap/tidb#40786
2023-08-15 04:38:00 +00:00
6ab8a37834 expression: make lead and lag function return correct column type (#46051)
close pingcap/tidb#46050
2023-08-14 14:38:00 +00:00
4a7b529bd5 executor: fix select sleep killed return expected error (#45832)
close pingcap/tidb#45813
2023-08-14 11:10:59 +00:00
d5fc8bbf03 expression: Fix different behaviors with MySQL when comparing datetime column with numeric constant (#45945)
close pingcap/tidb#38361
2023-08-14 09:27:28 +00:00
61ecb599ad *: use std slices to replace exp/slices (#46020)
ref pingcap/tidb#45933
2023-08-14 03:52:58 +00:00
d4686cd733 linter: enable revive for expression (#46029)
ref pingcap/tidb#40786
2023-08-14 02:42:29 +00:00
db7a89bc99 expression: make the return column type always be nullable for some window function (#45965)
close pingcap/tidb#45964
2023-08-11 08:34:58 +00:00
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