55a38cb162
expression, cmd: let crc32() support gbk ( #30900 )
...
close pingcap/tidb#30898
2021-12-21 17:27:47 +08:00
b4df7ca4dc
test: make all the tests run in serial ( #30692 )
2021-12-14 18:06:36 +08:00
45836a6afe
expression, sessionctx: support rand_seed1 and rand_seed2 sysvar ( #29936 )
2021-11-24 13:35:50 +08:00
b7ed87de7c
expression: migrate builtin tests ( #29125 )
2021-10-27 21:18:49 +08:00
efa94595c0
*: enable golangci-lint unconvert ( #28929 )
2021-10-23 21:28:47 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +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
8a3705ee40
expression: change the round rule for approximate value to round to nearest even ( #21324 )
2020-12-10 11:34:52 +08:00
28c9e9290b
*: gocritic fixes for commentFormatting ( #21578 )
2020-12-09 12:03:17 +08:00
bbc0502038
expression: add warnings for logarithm functions ( #18668 )
2020-08-19 16:41:02 +08:00
bca31eaf62
*: refine the behavior of StrToInt and StrToFloat and support convert JSON to date, time and timestamp ( #17902 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-06-22 11:59:24 +08:00
62e4d588a8
Makefile: add unconvert to inspect unnecessary type convert ( #16549 )
2020-04-22 23:01:59 +08:00
25580ea5f4
*: Use a function to get the ONE, ZERO and NULL and fix the clone. ( #16512 )
2020-04-17 19:11:52 +08:00
83ab488481
expression: fix implement of rand ( #14565 )
2020-02-04 16:38:53 +08:00
7efe9bf1bb
expression: fix builtin function 'round' ( #13985 )
2020-01-15 15:54:20 +08:00
d006443194
type: encapsulate Time API ( #14288 )
2019-12-31 12:41:09 +08:00
469993cffa
expression: add setPbCode for Round function ( #13387 )
2019-11-18 20:00:53 +08:00
5d5497bfeb
expression: speed up unit tests under the expression package ( #12887 )
2019-10-23 03:56:31 -05:00
29f14d4178
*: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' ( #7965 )
2018-11-09 16:32:21 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
b87b5f0898
expression: refine built-in func truncate to support uint arg ( #8000 )
2018-10-24 15:42:32 +08:00
06021c7cfe
remove types.Row interface ( #7170 )
2018-07-27 13:45:03 +08:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
64bc8cb6cb
expression: remove "self" field in "baseBuiltinFunc" completely ( #4766 )
...
* expression: remove "self" field in "baseBuiltinFunc" completely
* address comment
2017-10-13 04:55:25 -05:00
60626912a7
expression, plan: remove "foldable" from "baseBuiltinFunc" ( #4759 )
2017-10-12 04:03:54 -05:00
3f4bdf6150
expression: rewrite unit test for Minus and Plus ( #4691 )
...
* expression: rewrite unit test for Minus and Plus
* move code
2017-09-30 11:47:26 +08:00
55bbc41069
expression: adjust getFunction context.Context param position ( #4400 )
2017-09-01 16:03:19 +08:00
f0aad43fec
expression: change isDeterministic to canBeFolded ( #4393 )
2017-08-31 20:35:13 +08:00
2399126166
expression: rewrite builtin function: CRC32 ( #4215 )
2017-08-17 18:43:55 +08:00
94c5420a86
expression: rewrite builtin function: TRUNCATE ( #4179 )
2017-08-16 12:53:10 +08:00
276defa164
expression: rewrite builtin function RAND, POW, SIGN, SQRT ( #4182 )
2017-08-16 00:07:22 +08:00
7e1836aa12
expression: rewrite builtin function: RADIANS ( #4155 )
2017-08-15 13:51:47 +08:00
3b94ee1f59
expression: rewrite builtin function: CONV ( #4100 )
2017-08-10 11:18:10 +08:00
e4c104b291
expression, executor, plan: rewrite builtin function PI ( #3846 )
2017-07-28 11:30:10 +08:00
1f0c4cb4e1
expression, executor, plan: rewrite builtin function exp ( #3871 )
2017-07-26 09:59:27 +08:00
4175a7e708
expression, executor, plan: rewrite builtin function cot ( #3856 )
2017-07-25 00:08:58 +08:00
e4ea902125
expression, executor, plan: rewrite builtin function ceil ( #3819 )
2017-07-20 14:32:35 +08:00
37d8ea3e38
expression, executor, plan: rewrite builtin function floor ( #3791 )
2017-07-19 22:19:01 +08:00
8b289ed94a
expression, executor, plan: rewrite builtin function atan ( #3788 )
2017-07-19 11:29:37 +08:00
287d563481
expression, executor, plan: rewrite builtin function acos ( #3789 )
2017-07-18 14:51:37 +08:00
6ea235f69f
expression, executor, plan: rewrite builtin function log ( #3763 )
2017-07-17 16:06:47 +08:00
9436c49dc7
expression, executor, plan: rewrite builtin function asin ( #3765 )
2017-07-17 10:37:42 +08:00
0da3efabdb
expression, executor: rewrite builtin func log10 ( #3733 )
2017-07-13 12:16:55 +08:00
f4abbdbc5e
expression, plan: move typeinfer of agg funcs to expression rewriter ( #3654 )
2017-07-10 16:24:25 +08:00
3dede36c84
expression, executor: rewrite builtin func log2 ( #3653 )
2017-07-08 20:28:46 +08:00
0c3e6f4e12
expression, executor: rewrite builtin func degrees ( #3642 )
2017-07-08 13:39:42 +08:00
91f08579b6
expression, executor: rewrite builtin func Sin ( #3609 )
...
* builtin-Sin
* builtin-Sin add test
* Fix tp.Flen
* add valid string input argument test
* Nothing changed
* fmt code
* fix comment
2017-07-05 13:42:15 +08:00
760bdc9d5b
expression, executor: rewrite builtin func Cos ( #3607 )
2017-07-05 13:03:42 +08:00
623ac1ffb0
expression, executor: rewrite builtin func tan ( #3621 )
2017-07-05 10:56:41 +08:00
5b979d09e0
*: Adding ppc64le specific fixes for some tests ( #3477 )
...
The changes were required because of the different behavior of some casting and exponential operations on ppc64le platform.
Add fix for "expression/builtin_math_test.go" and "store/tikv/lock_test.go"
2017-06-19 14:14:12 +08:00