Commit Graph

45 Commits

Author SHA1 Message Date
a8ce4af9f8 expression: Fix incorrect behavior of greatest/least when mixed temporal type with others (#31037)
close pingcap/tidb#30264
2021-12-30 11:33:50 +08:00
4b110036e1 expression: fix wrong result type for greatest/least (#29408) 2021-11-07 11:17:03 +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
eedb191da4 Revert "expression: Fix greatest and least function lost decimal precision compared with MySQL" (#26046) 2021-07-09 10:45:30 +08:00
3c3096e8c0 expression: Fix greatest and least function lost decimal precision compared with MySQL (#25766) 2021-07-07 15:29:29 +08:00
50607db18d expression: Optimize builtinArithmeticModRealSig and builtinGreatestDecimalSig using MergeNull method (#22418)
* optimize with mergenulls

* optimize with mergenulls

* remove unnecessary import

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-02-22 22:27:09 +08:00
dd0dc46d5e expression: fix type infer for tidb's builtin compare(least and greatest) (#21150)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2020-12-22 14:58:31 +08:00
28c9e9290b *: gocritic fixes for commentFormatting (#21578) 2020-12-09 12:03:17 +08:00
5b26588eba expression: add linear search for the interval function (#19543)
* add linear search for interval

* update test

* remove debug info

* fix mistakenly erased code

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-04 12:07:32 +08:00
0338bce029 expression: fix unmatched column lengths errors caused by builtinGreatestStringSig and builtinLeastStringSig (#19754) 2020-09-03 16:22:43 +08:00
765612fb54 expression: fix the wrong behaviour bug of vec LeastTime (#17848) 2020-06-12 10:39:47 +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
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +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
f2fa5c5fd5 expression: consider collations when comparing strings (#14913) 2020-02-25 15:06:37 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
5d186eac4b expression: implement vectorized evaluation for builtinLeastTimeSig (#13781) 2019-12-02 11:46:31 +08:00
761ff1dab6 expression: implement vectorized evaluation for builtinNullEQIntSig (#13565) 2019-11-20 10:20:43 +08:00
6971388118 expression: implement vectorized evaluation for builtinGEIntSig (#13517) 2019-11-17 09:14:44 -06:00
66a2412bde expression: implement vectorized evaluation for builtinGreatestTimeSig (#12825) 2019-11-09 01:11:35 -06:00
e59bfe1746 expression: implement vectorized evaluation for 'builtinNEIntSig' (#13076) 2019-11-05 13:02:09 +08:00
9ada79acb6 expression: implement vectorized evaluation for builtinCoalesceXXSig (#13015) 2019-11-05 12:03:21 +08:00
170836c873 expression: implement vectorized evaluation for 'builtinEQIntSig' (#13075) 2019-11-02 08:57:15 -05:00
928b5cba7a expression: implement vectorized evaluation for 'builtinLEIntSig' (#13073) 2019-11-02 08:51:42 -05:00
089895a574 expression: implement vectorized evaluation for 'builtinGTIntSig' (#13074) 2019-11-02 21:43:34 +08:00
de3a672837 expression: implement vectorized evaluation for 'builtinLTIntSig' (#12710) 2019-11-01 00:31:33 -05: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
6182871dad expression: implement vectorized evaluation for builtinGreatestStringSig (#12778) 2019-10-21 17:06:43 +08:00
9808be99b7 expression: implement vectorized evaluation for builtinLeastStringSig (#12780) 2019-10-21 10:58:20 +08:00
735ef21aaa expression: implement vectorized evaluation for 'builtinIntervalRealSig' (#12562) 2019-10-14 22:54:16 +08:00
3492e72176 expression: implement vectorized evaluation for builtinNullEQString (#12530) 2019-10-10 10:21:44 +08:00
0ec38f72d6 expression: implement vectorized evaluation for 'builtinIntervalIntSig' (#12558) 2019-10-09 16:56:16 +08:00
0237e0219e expression: implement vectorized evaluation for builtinNullEQDecimalSig (#12529) 2019-10-09 15:27:16 +08:00
cda5d35924 expression: implement vectorized evaluation for builtinNullEQRealSig (#12455) 2019-09-29 14:34:25 +08:00
6ad5e9f3b9 expression: implement vectorized evaluation for builtinLeastR… (#12432) 2019-09-28 20:20:00 +08:00
dab72fbd16 expression: implement vectorization for builtinGreatestRealSig (#12399) 2019-09-26 10:50:50 +08:00
73432870cf expression: generate vecEval methods for all functions to avoid further conflicts (#12395) 2019-09-25 20:41:47 +08:00
bb5b0c8aa9 expression: implement vectorized evaluation for builtinGreatestIntSig (#12272) 2019-09-24 10:45:46 +08:00
8cb488a9dc expression: implement vectorized evaluation for builtinLeastIntSig (#12286) 2019-09-22 19:55:15 +08:00
c153a5f31c expression: implement vectorized evaluation for builtinLeastDecimalSig (#12150) 2019-09-12 10:07:45 +08:00
0f2434660c expression: implement vectorized evaluation for builtinGreatestDecimalSig (#12077) 2019-09-09 19:32:18 +08:00