75 Commits

Author SHA1 Message Date
96bdeae43c executor: prealloc memory for keys in HashJoinv2 (#63957)
ref pingcap/tidb#62854
2026-01-15 03:50:08 +00:00
2a5e1bb6f7 types: print argument as hex literal if non-printable (#65384)
close pingcap/tidb#65383
2026-01-08 12:10:32 +00:00
bd6aa86530 types: allow '5e' as int value (#60672)
close pingcap/tidb#60671
2025-11-17 03:24:20 +00:00
659850df27 types: speedup error generation to improve performance (#64271)
close pingcap/tidb#64270
2025-11-07 04:56:35 +00:00
8d5fd7342e fix: can replace a copy with slices in vector (#63291)
ref pingcap/tidb#62543
2025-09-01 04:55:34 +00:00
tpp
d48ac38676 planner: Add explain format='plan_tree' (#63080)
ref pingcap/tidb#63118
2025-08-21 14:31:32 +00:00
d82d2baa0f bazel: update settings and close some race on tests (#63009) 2025-08-15 09:07:31 +00:00
312226f869 types: fix CASE WHEN wrong result when prepare value is NULL (#62568)
close pingcap/tidb#62564
2025-07-28 11:18:09 +00:00
ca56cc6ab8 fix: combine two same logic for month of days (#62087) 2025-07-01 10:20:48 +00:00
ffb9bf06f5 fix: string null value should error close #57143 (#61842)
close pingcap/tidb#57143
2025-06-19 17:38:36 +00:00
534ddf33b3 types: fix parse vector type which have left string (#61836)
close pingcap/tidb#61835
2025-06-19 16:47:36 +00:00
c48a03d6c3 types/time: invalid timestamp during DST spring forward fixed to next valid ts instead of zero date. (#61533)
close pingcap/tidb#61335
2025-06-16 14:01:57 +00:00
23de08cfb5 types: refactor Datum.Sort (#61494) 2025-06-04 15:18:59 +00:00
98dd9708b3 *: Fix insert dst transition timestamp (#61337)
close pingcap/tidb#61334
2025-05-29 03:35:01 +00:00
cd7a61762f types: fix decodeEscapedUnicode func work with surrogate pair (#61109)
close pingcap/tidb#61091
2025-05-15 06:34:52 +00:00
8ffbddd447 *: gopls modernize non-owned packages, final part (#60919)
close pingcap/tidb#60918
2025-05-07 18:14:54 +00:00
25dde1c45d stats: use an alternative function to read the bound from BLOB stored in mysql.stats_buckets. (#59791)
close pingcap/tidb#59759
2025-04-15 08:57:06 +00:00
96e00d15d3 *: support columnar inverted index (#59571)
close pingcap/tidb#59880
2025-04-10 12:26:03 +00:00
54b42a5756 charset,collation: implement GB18030 and 2 collations (#55792)
close pingcap/tidb#31692, close pingcap/tidb#31693, close pingcap/tidb#31694, ref pingcap/tidb#55791
2025-03-12 04:44:15 +00:00
d93c2336ae json: extract the $[last] entry from json object should also return itself (#59687)
close pingcap/tidb#59619
2025-02-24 04:11:54 +00:00
002a1a779b datum: remove wrong usage of pool and prealloc the buffer (#59331)
close pingcap/tidb#59332
2025-02-08 03:07:52 +00:00
9c37399a32 types: avoid slicegrow in the FieldName.String() (#59136)
close pingcap/tidb#59135
2025-01-23 01:52:56 +00:00
c744ea44af json: add json fuzz test for json_extract function and fix several bugs found by it (#58899)
close pingcap/tidb#37806, close pingcap/tidb#58888, close pingcap/tidb#58894, close pingcap/tidb#58895, close pingcap/tidb#58896, close pingcap/tidb#58897
2025-01-14 11:28:04 +00:00
1d0c33a167 types: throw error when input exceeds the range of float32 in vector (#58841)
ref pingcap/tidb#58379
2025-01-10 04:51:58 +00:00
b2f2faaa95 parser: move 'model' to 'ast' pkg (#58704)
ref pingcap/tidb#54436
2025-01-07 10:20:04 +00:00
284a3ee23c importinto: use same type context flag setting as insert (#58606)
close pingcap/tidb#58443
2024-12-31 07:02:33 +00:00
8388f0fc58 expression: fix the truncate function when the first arg is 0 and second value is too large (#58191)
close pingcap/tidb#57651
2024-12-20 04:37:24 +00:00
dcec06a74b *: tiny optimize by avoid sprintf (#58285)
ref pingcap/tidb#56649
2024-12-16 12:11:13 +00:00
db4d19bb84 expression: fix the arg verification for json functions. (#54145)
close pingcap/tidb#54029, close pingcap/tidb#54044
2024-11-20 16:00:41 +00:00
9512c9630e expression: round the frac part for ParseTimeFromFloat64 (#56340)
close pingcap/tidb#56339
2024-11-18 11:54:20 +00:00
95b04c7670 table: fix the issue that the default value for BIT column is wrong (#57303)
close pingcap/tidb#57301, close pingcap/tidb#57312
2024-11-12 13:46:47 +00:00
c43d0589be *: replace exportloopref with copyloopvar (#56503)
close pingcap/tidb#56509
2024-10-09 12:12:43 +00:00
8c4bab1963 *: upgrade go1.23.2 (#51126)
close pingcap/tidb#50765
2024-10-09 05:15:46 +00:00
dcfec4b1de expression: implement vectorized evaluation for builtinVectorFloat32 (#55254)
ref pingcap/tidb#54245
2024-10-08 08:58:13 +00:00
65d740f5f8 planner: Display truncate vector in EXPLAIN (#55934)
ref pingcap/tidb#54245
2024-09-29 11:51:19 +00:00
7b6209df99 meta: introduce metabuild.Context to build meta (#56176)
close pingcap/tidb#56175
2024-09-26 00:21:37 +00:00
a5698cc4cf *: fix typo interger -> integer (#55782) 2024-09-02 11:14:07 +00:00
f5fff6cff9 planner: introduce hashEqual interface for datum. (#55727)
ref pingcap/tidb#51664
2024-08-29 09:11:21 +00:00
48989e726f *: Vector Data types and Functions (#55550)
ref pingcap/tidb#54245
2024-08-22 07:01:51 +00:00
9d6bca4b2e parser,types: Fix error for JSON max depth (#54237)
ref pingcap/tidb#54207
2024-06-28 10:56:54 +00:00
08b7ac6218 planner: fix the issue that cannot find column if using question marker in group-by-clause (#54205)
close pingcap/tidb#53872
2024-06-26 05:14:52 +00:00
7b259929a9 expression: Fix errors for JSON functions (#53800)
close pingcap/tidb#53799
2024-06-18 03:22:16 +00:00
fab0940c21 datum: check len(s) before calculating and checking runeCount (#53941)
close pingcap/tidb#53942
2024-06-13 04:09:06 +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
09c8f964cc planner: fix the issue that UnionAll didn't handle the range bump case (#52542)
close pingcap/tidb#52472
2024-05-11 06:19:09 +00:00
57b382b01a executor,types: Fix truncate function behavior when second param is large negative (#53075)
close pingcap/tidb#52978
2024-05-08 09:01:08 +00:00
3368ccdef1 expression: introduce StaticEvalContext to provide context when evaluating expressions (#52631)
close pingcap/tidb#52630
2024-04-23 06:52:40 +00:00
ef30a6930f sessionctx,executor: support div_precision_increment sysvar (#51538)
close pingcap/tidb#51501
2024-03-14 08:14:10 +00:00
ccbab5eeb7 *: Enable plan cache for partitioned tables (#49161)
close pingcap/tidb#33031, close pingcap/tidb#45532
2024-03-12 05:38:08 +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