Commit Graph

3052 Commits

Author SHA1 Message Date
99d9d41c83 expression: fix unexpected error msg for cast string to decimal (#47267)
close pingcap/tidb#44274
2023-09-27 04:01:47 +00:00
7e922aa503 expression: use precision and frac from MyDecimal instead of datum for encoding (#47195)
close pingcap/tidb#42622
2023-09-25 15:36:16 +00:00
e8247b5210 *: make IsVirtualGeneratedColumn more readable (#47203) 2023-09-22 12:12:14 +00:00
c634119bee expression: Add cast to ensure that the actual output type of builtin_control is consistent with retType (#46786)
close pingcap/tidb#44196
2023-09-22 05:10:45 +00:00
e838e5e79c planner: Turn on the switch of pushdown for range type frame in window function (#46329)
close pingcap/tidb#46328
2023-09-22 04:25:51 +00:00
b823a1deb9 planner: fix group_concat function couldn't resolve the index of its order-by item (#46419)
close pingcap/tidb#41986
2023-09-20 06:06:14 +00:00
e324e08d1b distsql,executor,expression: add code OWNERS files (#47091)
ref pingcap/tidb#47088
2023-09-19 23:49:42 +00:00
defa2ade91 tests, expression: move integration test in expression pkg to tests/integrationtest (#47059)
close pingcap/tidb#46679
2023-09-18 09:55:41 +00:00
21db64fa76 expression, tests: fix ci, add TestCompareBuiltin back (#47021) 2023-09-17 03:42:10 +00:00
533de3ba88 expression, tests: move more test cases to integrationtest (#47002)
ref pingcap/tidb#46679
2023-09-15 09:58:40 +00:00
0468fc2dc7 expression, tests: add vitess_hash, json, charset_and_collation in IT (#46944)
ref pingcap/tidb#46679
2023-09-14 07:49:39 +00:00
dc99d147cc expression, tests: move integration tests in expression pkg to tests/integration (#46891)
ref pingcap/tidb#46679
2023-09-12 09:06:10 +00:00
6397d4753f types: fix convert str -00* to uint (#46721)
close pingcap/tidb#44359
2023-09-11 10:42:11 +00:00
02ceded78b planner: add new logical rule for constant propagation (#46544)
close pingcap/tidb#15082
2023-09-11 05:51:10 +00:00
fa0c5ced65 expression, planner: check function exists with schema name (#46767)
close pingcap/tidb#46744
2023-09-08 06:50:13 +00:00
2e90bc5f72 expression, cmd: move some issue tests to explaintest (#46680)
ref pingcap/tidb#46679
2023-09-07 01:09:44 +00:00
ca69622923 expression: fix wrong result for unsigned non-const int cmp const duration (#46620)
close pingcap/tidb#45410
2023-09-06 01:30:41 +00:00
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