Commit Graph

221 Commits

Author SHA1 Message Date
bb50e33509 expression: support member of function (#39880)
ref pingcap/tidb#39866
2022-12-14 17:16:52 +08:00
b41be060b9 expression: support json_overlaps function (#39867)
ref pingcap/tidb#39866
2022-12-14 12:48:52 +08:00
30f313091c planner: judge nil pointer before call MemoryUsage (#38764)
ref pingcap/tidb#37632
2022-11-02 11:17:59 +08:00
ad0f7d24a3 extension: allow extension to custom functions (#38567)
close pingcap/tidb#38566
2022-10-24 11:51:55 +08:00
873a3ea719 json: add json_storage_free function (#38544)
close pingcap/tidb#38517
2022-10-21 14:03:55 +08:00
a6a0ad2c01 parser,executor: add tidb_current_tso() function (#37037)
close pingcap/tidb#37035
2022-09-26 13:35:44 +08:00
dcdbb87904 expression: support all regexp functions (#37407)
close pingcap/tidb#23881
2022-09-16 14:43:00 +08:00
1d482db4dd *: Support for tidb_sm3_password authentication (#36193)
close pingcap/tidb#36192
2022-09-08 12:00:57 +08:00
e0b5fa1085 planner: Expression memory trace (#37624)
ref pingcap/tidb#37632
2022-09-07 10:52:55 +08:00
170dafc7e1 types: merge json and types pkg (#37578)
close pingcap/tidb#37577, close pingcap/tidb#37628
2022-09-05 19:42:55 +08:00
11e9d8519d planner: set/clear not null flag when create a new baseBuiltinFunc (#36518)
close pingcap/tidb#36517
2022-07-29 10:31:11 +08:00
4cade24ed6 *: support the binary plan through EXPLAIN format='binary' and tidb_decode_binary_plan (#36221)
ref pingcap/tidb#35889
2022-07-18 16:27:07 +08:00
55aea2787d *: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
9a77892ac8 execution: avoid decimal overflow and check valid (#34399)
close pingcap/tidb#30347, close pingcap/tidb#34388
2022-06-17 21:42:36 +08:00
4ae78cdead expression: refine date_add/sub return type and precision (#35009)
close pingcap/tidb#9813, close pingcap/tidb#31799, ref pingcap/tidb#31867
2022-06-16 16:12:34 +08:00
c16291392a *: replace types.NewFieldTypeBuilder() API with NewFieldTypeBuilderP() to avoid misuse (#34494)
close pingcap/tidb#34490
2022-05-09 22:00:33 +08:00
6d8669e987 *: Add support for GET_LOCK() / RELEASE_LOCK() / RELEASE_ALL_LOCKS() (#33947)
close pingcap/tidb#14994
2022-04-29 23:12:53 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
6517f3b315 planner,expression,util: scatter hotspot index in certain scenes by expression index (#30659)
close pingcap/tidb#31040
2022-02-18 16:47:40 +08:00
e7da7d4f95 *: change fsp from int8 to int (#28347) 2022-01-27 13:59:12 +08:00
df58e6c36c execution: refine precision of cast as decimal in agg func (#30805) 2021-12-23 16:53:47 +08:00
3337405dd0 expression, parser: add built-in func is_uuid (#30318) 2021-12-07 02:47:55 +08:00
3d267514d5 expression: cast charset according to the function's resulting charset (#29905) 2021-11-24 17:07:50 +08:00
7889f445a6 expression: convert charset by wrapping internal builtin function (#29736) 2021-11-17 15:37:47 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
32f96fef77 expression: make infer collation support the expressions with different charset (#27863) 2021-10-11 14:51:25 +08:00
d97cd8ea6d expression: refactoring returning time type (#28252) 2021-09-26 10:42:46 +08:00
b339ca29c8 expression: aggregate the collation only if the function is needed. (#27789) 2021-09-22 13:40:45 +08:00
e262e59842 expression: refine and fix some functions' return type (#27991) 2021-09-15 15:46:41 +08:00
01e1ceda08 expression, executor: fix license header (#28050) 2021-09-15 10:56:42 +08:00
d5baa5dadf planner: fix expression rewrite makes between expr infers wrong collation. (#27254) 2021-08-24 18:24:04 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
cdaf996f56 expression/builtin: Add tidb_decode_sql_digests function (#26787) 2021-08-06 00:09:12 +08:00
6ab9d7dbcd expression: support Oracle translate function (#26408) 2021-07-29 16:18:17 +08:00
c70662bbec expression: show display name in error messages (#26665) 2021-07-28 21:50:22 +08:00
4325eebcf4 expression: optimize localSliceBuffer to be lock-free (#26078) 2021-07-16 13:13:33 +08:00
6063386a9d expressions: Support bin-to-uuid and uuid-to-bin (#20140) 2021-06-30 14:03:25 +08:00
f891c5a7cb planner: Fix runtime error occurs when illegal mix collate in subquery (#24887) 2021-05-26 21:29:35 +08:00
e9488ce2ee *: implement tidb_bounded_staleness built-in function (#24328) 2021-05-18 14:15:40 +08:00
f97496d0fc expression: Implementation of Vitess hashing algorithm. (#23493) 2021-04-06 23:00:32 +08:00
7f9c716854 expression, ddl: check the argument count for the generated column (#22154)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-01-05 13:45:45 +08:00
c3c3063b66 expression: set IsBooleanFlag for boolean scalar functions (#20706) 2020-12-07 17:22:48 +08:00
de75e604ff *: differentiate types for user variables (#18973)
Co-authored-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-11-17 17:03:41 +08:00
0c36203f1d expression: add new scalar function IsTruthWithNull (#19621) 2020-09-09 16:03:10 +08:00
9c2d7c2663 expression: allow function coercibility derive to DERIVATIO ... (#19462) 2020-09-01 21:46:41 +08:00
d355b82f1c expression: unicode_ci support when infer collation and charset information (#19142)
* add mix unicode_ci collation support

* comments change

* bug fix

* add test

* refactor illegal mix collation message

* fmt

* fix check

* fmt

* refactor infer collation

* refactor infer collation

* add charset info

* address comments

* return bin if something wrong

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-26 11:08:21 +08:00
d1b728b278 expression: fix wrong result when select with collation (#18665) 2020-07-23 12:54:22 +08:00
6a49bb4a84 *: fix a bug which causes function return truncated result (#17101) 2020-05-12 12:54:35 +08:00
9d391949cd expression: refactor logic about checking illegal mix collations (#16866) 2020-04-29 16:40:56 +08:00
5f0585415b expression: forbidden illegal mix collate (#16277) 2020-04-15 14:41:27 +08:00