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
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
fde73403fd
expression: Add format_bytes and format_nano_time performance schema functions ( #14975 )
2020-03-06 11:50:46 +08:00
1771fff928
expression: make field and findInSet support collation ( #15100 )
2020-03-04 18:12:53 +08:00
1a92dc07df
collation: fix wrong collation information used in expression calculation ( #15006 )
2020-03-02 17:30:04 +08:00
568cc224f7
expression: add builtin function WEIGHT_STRING() ( #14792 )
...
Add builtin-function WEIGHT_STRING(). MySQL manual described most of its behavior except:
If the input str is of numeric types, WEIGHT_STRING() in MySQL returns NULL, so does this implementation.
If the input str is of other types rather than string or numeric, the result of WEIGHT_STRING() in MySQL is not cleared. I simply evaluated the input as string.
2020-02-28 01:52:19 +08:00
cbc2c03c36
expression: derive collation and charset information and support the Collation() builtin-func ( #14905 )
2020-02-24 19:35:49 +08:00
a22ab8f297
expression: support sequence function ( #14731 )
2020-02-17 20:11:18 +08:00
ebae5506f1
expression: fix typos ( #14797 )
2020-02-15 17:18:00 +08:00
c36f83e1b4
expression,table: fix insert partitioned table bug when the time zone change ( #14370 )
2020-01-14 17:41:21 +08:00
11b9beb969
*: resort fields for reducing the memory allocated ( #14270 )
2020-01-07 19:10:09 +08:00
d006443194
type: encapsulate Time API ( #14288 )
2019-12-31 12:41:09 +08:00
d7206fb43b
expression: use new metadata instead of implicit_args ( #13962 )
2019-12-09 13:51:40 +08:00
0a22034420
executor: add SHOW BUILTINS command ( #12941 )
2019-12-06 14:13:00 +08:00
7de620055d
expression: support expression reverse evaluation framework ( #13738 )
2019-12-05 11:50:09 +08:00
05298ed6a5
expression: implement vectorized evaluation for builtin field(Real/Int/String) ( #13171 )
2019-11-12 18:57:36 +08:00
a28fc711d7
expression: implement vectorized evaluation for builtinIn*Sig ( #13090 )
2019-11-05 20:55:47 -06:00
875873b7ca
expression: implement vectorized evaluation using go generate for builtin compare (LT/LE/GT/GE/EQ/NE/NullEQ)(Real/Decimal/String/Datetime/Duration/Json) ( #12875 )
2019-10-29 19:27:17 +08:00
b8cd65714f
*: record and print the plan in slow log. ( #12179 )
2019-10-17 22:13:19 +08:00
542ba1299d
expression: fix incorrect result of logical operators ( #12173 )
2019-10-14 21:31:33 +08:00
2354fad905
ddl: implement SQL functions allowed / blocked rules in genera… ( #12251 )
2019-10-10 12:37:25 +08:00