Commit Graph

60 Commits

Author SHA1 Message Date
e0864c6cf1 expression: let cast function supports explicit set charset (#55724)
close pingcap/tidb#55677
2024-09-10 10:25:23 +00:00
9690dab339 expression: Support 2 argument version of MID() (#55541)
close pingcap/tidb#52420
2024-08-22 02:54:13 +00:00
628b7ed673 planner: deprecate index lookup merge join. (#54681)
close pingcap/tidb#54064
2024-07-25 07:48:05 +00:00
e209c7dafb expression: fix the type of casting YEAR as json (#54146)
ref pingcap/tidb#54027, close pingcap/tidb#54494
2024-07-09 09:40:33 +00:00
0f81cea72c config: Change tidb_opt_projection_push_down default value to true (#53831)
ref pingcap/tidb#51876
2024-07-08 08:36:03 +00:00
9d6bca4b2e parser,types: Fix error for JSON max depth (#54237)
ref pingcap/tidb#54207
2024-06-28 10:56:54 +00:00
5b1a3d1e9e expression: Return non-retryable error for schema errors (#54278)
close pingcap/tidb#54273
2024-06-28 03:34:23 +00:00
d1080e57a0 planner: remove the same projection when to InjectExtraProjection (#54163)
close pingcap/tidb#54123
2024-06-24 16:40:21 +00:00
7b259929a9 expression: Fix errors for JSON functions (#53800)
close pingcap/tidb#53799
2024-06-18 03:22:16 +00:00
25d1c83769 expression: Fix JSON quote (#53961)
close pingcap/tidb#37294
2024-06-13 01:04:30 +00:00
fc3132ce9b expression: JSON_SCHEMA_VALID() (#52780)
close pingcap/tidb#52779
2024-06-03 06:17:54 +00:00
68d12954fe expression: fix wrong result when convert float to unsigned (#53590)
close pingcap/tidb#41736
2024-05-28 05:43:20 +00:00
45318da24d expression: fix the fsp of casting json as datetime/duration (#53535)
close pingcap/tidb#53352
2024-05-25 05:05:48 +00:00
9581442747 tests: move TestNoopFunctions to tests/integrationtest (#53343)
ref pingcap/tidb#45961
2024-05-17 08:17:44 +00:00
491740bb83 planner: move checks for noop functions in select statements to preprocess (#53279)
close pingcap/tidb#52432
2024-05-17 01:34:13 +00:00
37b29bd6b1 expression: clarify the cast(... as char array) error message (#53220)
close pingcap/tidb#53219
2024-05-13 13:14:41 +00:00
4674b125fc expression: fix charset conversion warning and error behavior (#51191)
close pingcap/tidb#50295
2024-05-13 07:23:41 +00:00
dcd1fa9d96 expression: fix the collation of functions with json arguments (#53126)
close pingcap/tidb#52833
2024-05-11 11:38:39 +00:00
7b8fd3729f expression: set a collation according to the arguments for ifnull in constant folding (#52119)
close pingcap/tidb#51765
2024-03-27 02:24:47 +00:00
c5359cad37 *: update pingcap/errors version (#51854) 2024-03-18 11:05:12 +00:00
661f6d61ae json: don't resize slice to get extra zero when the length is unspecified (#51586)
close pingcap/tidb#51547
2024-03-12 10:48:39 +00:00
f0a26dd2a3 expression: Fix the issue that cast str as datetime with time_zone results in loss of precision (#50958)
close pingcap/tidb#49555
2024-02-06 03:44:44 +00:00
aa00ae2217 expression: fix reverse function on bit type column (#50146)
close pingcap/tidb#49566, close pingcap/tidb#50850, close pingcap/tidb#50855
2024-02-05 04:44:43 +00:00
a9e964249d expression: fix the incorrect result of json_length(cast(1 as json), null) (#50933)
close pingcap/tidb#50931
2024-02-04 02:51:55 +00:00
01e2ee63e6 expression: fix the const prop over ENUM type (#50208)
close pingcap/tidb#49440
2024-01-10 08:32:01 +00:00
c082f850ea planner: fix agg push down rule mistake order by item inside agg function (#50002)
close pingcap/tidb#49986
2024-01-03 07:03:32 +00:00
20d394d714 expression: fix null type infer for function ROW (#49525)
close pingcap/tidb#49015
2023-12-26 08:30:28 +00:00
07e9ece910 expression: pass const bool to all calls for expression.ConstItem (#49756)
close pingcap/tidb#49755
2023-12-25 11:03:26 +00:00
a41527f8d9 rowcodec: use array type to decode index value (#49720)
close pingcap/tidb#49680
2023-12-25 08:22:57 +00:00
4e9f0060da expression: refactor like and ilike cache logic (#49676)
close pingcap/tidb#49674
2023-12-25 07:33:33 +00:00
4cee5c1dcb expression: refactor cache implement for regexp_like/regexp_instr/regexp_replace (#49642)
close pingcap/tidb#49641
2023-12-21 10:42:37 +00:00
97acf71044 expression: refactor cache logic for builtinRegexpSubstrFuncSig (#49584)
close pingcap/tidb#49583
2023-12-20 10:52:53 +00:00
c06f54c698 parser: fix invalid hint addition disable other valid hints (#49441)
close pingcap/tidb#49308
2023-12-20 08:19:53 +00:00
fb9d2203b9 expression: enum/set could be invalid during evaluation (#49543)
close pingcap/tidb#49487
2023-12-18 08:40:53 +00:00
3a7bd532a2 expression: ignore TypeNULL in HandleBinaryLiteral (#49527)
close pingcap/tidb#49526
2023-12-17 14:22:51 +00:00
b983fe088f expression: pushdown lower/upper to tikv (#49045)
close pingcap/tidb#48170
2023-12-13 11:40:49 +00:00
724b88b7b6 expression: fix the behavior when adding date with big interval (#49228)
close pingcap/tidb#49227
2023-12-12 11:06:19 +00:00
e053c27f06 util/ranger: support use like to build range for new collation columns (#48522)
close pingcap/tidb#48181, close pingcap/tidb#49138
2023-12-05 13:20:49 +00:00
598ccada40 *: code preparations for supporting build range for like function on new collation columns (#48972)
ref pingcap/tidb#48181
2023-11-30 13:14:48 +00:00
ab354f3e5c tests: move more tests to integration test (#48647)
ref pingcap/tidb#45961
2023-11-17 03:42:47 +00:00
446232fed0 expression, types: fix the logic of converting duration to year (#48565)
close pingcap/tidb#48557
2023-11-15 12:30:46 +00:00
5b05c0dba8 tests: update mysql-tester commit (#48462) 2023-11-10 03:26:13 +00:00
3894bc5232 admin: fix admin recover index with CommonHandle table in TiKV env (#48048)
close pingcap/tidb#47687
2023-10-31 06:12:36 +00:00
e13113a14a types: fix the behavior of casting json string to integers (#48010)
close pingcap/tidb#47864
2023-10-26 12:12:34 +00:00
d0a5bc5bc1 tests: fix some test cases in real TiKV env (#47697)
ref pingcap/tidb#45961
2023-10-17 08:11:00 +00:00
350e1c2701 *: move session/nontransactional, expression/integration* test cases to tests/integrationtest (#47439)
close pingcap/tidb#47287
2023-10-08 06:52:53 +00:00
2d1d3fd73c tests: bump mysql-tester version and update result (#47358)
ref pingcap/tidb#45961
2023-10-08 04:52:52 +00:00
5c4d4b7e1f tests, planner: migrate tests for indexmerge_path, integration and partition in planner (#47330)
close pingcap/tidb#47329
2023-09-27 09:52:46 +00:00
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