Commit Graph

88 Commits

Author SHA1 Message Date
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
e9488ce2ee *: implement tidb_bounded_staleness built-in function (#24328) 2021-05-18 14:15:40 +08:00
c9e85ec701 expression: refine performance of EXTRACT function (#22701) 2021-02-19 15:31:27 +08:00
f0c6fa9c25 expression: fix compatibility of extract day_time unit functions (#21601)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-11 17:13:21 +08:00
11b766df54 expression: fix error "invalid time format: '{0 0 0 0 0 0 0}'" for timestampAdd (#21591)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-09 17:49:03 +08:00
39f94f2bbc expression: not evaluate time addition for timestamp with 2 args if 1st arg's year is zero (#21572) 2020-12-09 16:45:22 +08:00
340ba78f0c expression: fix compatibility behaviors in sec_to_time with MySQL (#21555) 2020-12-09 13:15:38 +08:00
0deb0a3426 expression: fix compatibility behaviors in zero datetime with MySQL (#21220) 2020-12-07 14:13:43 +08:00
ebb5573869 expression: remove the ambiguous error message of unix_time ... (#19707) 2020-09-03 23:53:08 +08:00
242ce93302 Revert "expression: support NO_ZERO_DATE sql_mode" (#16740) 2020-04-23 13:37:19 +08:00
db7c13537a expression: support NO_ZERO_DATE sql_mode (#16053) 2020-04-22 23:27:01 +08:00
62e4d588a8 Makefile: add unconvert to inspect unnecessary type convert (#16549) 2020-04-22 23:01:59 +08:00
57739a2179 expression: implement vectorized evaluation for builtinConvertTzSig (#16349) 2020-04-15 14:07:08 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
c8fa259b2e expression: sec_to_time is not compatible with MySQL when the argument is a scientific notation number (#15614) 2020-03-28 22:14:05 +08:00
1cb773919b expression: vectorized builtinDateFormatSig (#14934) 2020-03-11 15:22:44 +08:00
b85ae7d766 expression: fix incorrect error handle in builtInTimeFormat (#14275) 2020-01-06 22:14:50 +08:00
391beea08b expression: implement vectorized evaluation for builtinMakeTimeSig (#13967) 2020-01-06 17:42:09 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
c444d7d737 expression: fix incorrect error handle in builtInMinute/Second/MicroSecondSig (#14060) 2019-12-26 15:17:39 +08:00
3368645bd2 expression:implement vectorized evaluation for builtinExtractDurationSig (#13489) 2019-12-20 01:42:46 -06:00
a887500215 expression: implement vectorized evaluation for builtinUnixTimestampIntSig (#13098) 2019-12-18 06:53:59 -06:00
ad1a15de7b expression: implement vectorized evaluation for SubXXXAndYYY (#13691) 2019-12-18 06:12:55 -06:00
641963e564 expression: implement vectorized evaluation for builtinUnixTimestampDecSig (#13507) 2019-12-11 13:09:28 +08:00
0255f6a5ad expression: fix a bug in builtinHourSig vec-function (#13949) 2019-12-10 16:38:25 +08:00
67b40720cd expression: implement vectorized evaluation for builtinTimeLiteralSig (#13816) 2019-12-06 14:05:19 +08:00
318c6bb735 expression: implement vectorized evaluation for builtinTimeLiteralSig (#13912) 2019-12-06 12:15:18 +08:00
cdadc9814c expression: use generator to implement vectorized evaluation for builtinAddDate*Sig and builtinSubDate*Sig (#13705) 2019-12-06 12:09:19 +08:00
997233f5f8 expression: implement vectorized evaluation for builtinTimeSig (#13814) 2019-12-02 15:59:28 +08:00
1c65ab936f expression: implement vectorized evaluation for builtinStrToDateDurationSig (#13505) 2019-11-28 06:12:27 -06:00
a1dc0477a5 types: add error code for package types (#13300) 2019-11-26 19:45:14 +08:00
9810b2d078 expression: implement vectorized evaluation for builtinDateDiffSig (#13595) 2019-11-26 16:05:13 +08:00
1773338c54 expression: implement vectorized evaluation for builtinSubTimeStringNullSig (#13662) 2019-11-22 13:39:15 +08:00
567f0d485e expression: implement vectorized evaluation for builtinStrToDateDateSig (#13509) 2019-11-21 11:28:43 +08:00
042cff4109 expression: implement vectorized evaluation for builtinTidbParseTsoSig (#13615) 2019-11-20 20:36:53 -06:00
9b4943fa24 expression: implement vectorized evaluation for builtinLastDaySig (#13503) 2019-11-20 07:16:31 -06:00
52afe66a7d expression: implement vectorized evaluation for builtinSecToTimeSig (#13609) 2019-11-20 21:06:13 +08:00
06df82d094 expression: implement vectorized evaluation for builtinExtractDatetimeSig (#13630) 2019-11-20 21:00:13 +08:00
95ff4e1254 expression: implement vectorized evaluation for builtinMicroSecondSig (#13482) 2019-11-20 11:19:43 +08:00
bca3cfa7f8 expression:implement vectorized evaluation for builtinUnixTimestampCurrentSig (#13510) 2019-11-19 15:58:02 +08:00
8b7e822e65 expression: implement vectorized evaluation for builtinTimestampDiffSig (#13499) 2019-11-18 23:53:02 -06:00
045eb97251 expression: implement vectorized evaluation for builtinSubStringAndStringSig (#13519) 2019-11-18 21:04:09 -06:00
14e7ff10a0 expression: implement vectorized evaluation for builtinWeekWithoutModeSig (#13535) 2019-11-19 10:13:23 +08:00
11673d8e71 expression: implement vectorized evaluation for builtinDateLiteralSig (#13502) 2019-11-18 12:25:24 +08:00
a8e9fa3857 expression: implement vectorized evaluation for builtinWeekWithModeSig (#13402) 2019-11-18 12:04:54 +08:00
77d189b752 expression: implement vectorized evaluation for builtinSysDateWithFspSig (#13332) 2019-11-16 06:53:44 -06:00
611646770a expression: fix unit test for builtinSysDateWithoutFspSig (#13425) 2019-11-15 17:39:23 +08:00
9a6d663bae expression: implement vectorized evaluation for builtin*TimeDiffSig (#13066) 2019-11-14 10:32:07 +08:00
5a51e8f810 expression: implement vectorized evaluation for builtinNowWithArgSig (#13372) 2019-11-12 19:47:36 +08:00
8ed2684e73 expression: implement vectorized evaluation for 'builtinNowWithoutArgSig' (#13341) 2019-11-12 14:12:00 +08:00