Commit Graph

99 Commits

Author SHA1 Message Date
e7da7d4f95 *: change fsp from int8 to int (#28347) 2022-01-27 13:59:12 +08:00
397eb725ea expression: make some datetime functions' behavior consistent with MySQL (#31078)
close pingcap/tidb#30683
2022-01-05 16:22:36 +08:00
8bc22b1aa1 expression,types: Adjusts UNIX_TIMESTAMP() for non-existing DST values (#28739) (#30405) 2021-12-09 16:57:58 +08:00
13b7a2d0ef ddl: disallow change columns from zero int to time (#25728) 2021-11-30 22:09:53 +08:00
a95927f50a expression: Fix wrong result of microsecond function in vectorized (#29310) 2021-11-03 11:37:01 +08:00
db056cfe0c expression: Fix wrong result of hour function in vectorized expression (#28857) 2021-10-15 16:35:27 +08:00
xhe
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
4325eebcf4 expression: optimize localSliceBuffer to be lock-free (#26078) 2021-07-16 13:13:33 +08:00
5a07699871 expression: fix incompatible last_day func behavior in sql mode (#25953) 2021-07-06 18:51:29 +08:00
87db757daf expression: error information is inconsistent with MySQL about date or time literal (#25611) 2021-07-02 15:07:27 +08:00
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