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
b4df7ca4dc
test: make all the tests run in serial ( #30692 )
2021-12-14 18:06:36 +08:00
4947cf1f59
expression: fix wrong result of greatest/least(mixed unsigned/signed int) ( #30121 )
2021-12-02 13:11:53 +08:00
4b110036e1
expression: fix wrong result type for greatest/least ( #29408 )
2021-11-07 11:17:03 +08:00
8ae81b3852
expression: fix different results for greatest when vectorized is off ( #29438 )
2021-11-04 19:17:02 +08:00
b7ed87de7c
expression: migrate builtin tests ( #29125 )
2021-10-27 21:18:49 +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
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
3ed4a23b95
executor: refineArgs() bug fix when compare int with very small decimal ( #23694 )
2021-03-30 20:53:24 +08:00
4658536793
expression: handle duration type infer in least and greatest ( #22271 )
...
Signed-off-by: iosmanthus <myosmanthustree@gmail.com >
2021-01-18 12:39:59 +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
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
945f7cc4a0
ddl, tables: support the column type change between the integer types ( #19059 )
2020-08-26 21:30:14 +08:00
baf6c99b95
*: fix a bug causes indexed virtual generated column return wrong value and refine admin check table ( #18408 )
2020-07-24 12:59:47 +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
765612fb54
expression: fix the wrong behaviour bug of vec LeastTime ( #17848 )
2020-06-12 10:39:47 +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
c561d5aa99
*: remove useless conversions and omit some types ( #16262 )
2020-04-10 00:23:06 +08:00
dbcf5fbcc8
planner: show cast type in EXPLAIN ( #14942 )
2020-02-26 16:36:35 +08:00
d006443194
type: encapsulate Time API ( #14288 )
2019-12-31 12:41:09 +08:00
e979cff6bb
planner: add column mapping in explain result ( #13640 )
2019-11-27 16:39:19 +08:00
f996816eb7
expression : fix function 'binSearch' in builtinIntervalRealSig not return error ( #12957 )
2019-11-27 13:59:56 +08:00
36f0f37b40
expression, planner: remove some fields from `expression.Colum… ( #12573 )
2019-10-29 15:48:26 +08:00
5d5497bfeb
expression: speed up unit tests under the expression package ( #12887 )
2019-10-23 03:56:31 -05:00
e2b1f7eff8
expression: change the String() method of expression.Column ( #12089 )
2019-09-16 14:30:22 +08:00
7b859c1907
executor: fix a bug for 'int column <cmp> non-int constant' ( #11050 )
2019-07-11 11:33:22 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
360ef5cee7
expression: tiny change to extend SimpleRewriter's ability ( #7373 )
2018-08-14 15:22:38 +08:00
a37acaf0d4
expression: update wording in comments ( #7220 )
2018-08-01 16:16:38 +08:00
06021c7cfe
remove types.Row interface ( #7170 )
2018-07-27 13:45:03 +08:00
ec8fb0d38c
*: refine IntColumn <cmp> NonIntConstant ( #7108 )
2018-07-26 09:40:47 +08:00
9fc856297c
expression: support simple expression rewriter ( #6432 )
2018-05-04 09:20:21 +08:00
88b8740724
*: avoid the generation of mysql.TypeNewDate ( #5705 )
2018-01-23 21:41:02 +08:00
970e5b5684
*: replace JSON with BinaryJSON ( #5460 )
2017-12-21 15:20:17 +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
959db2b835
*: rewrite builtin function GREATEST, LEAST ( #4476 )
2017-09-13 18:44:09 +08:00
9f040b850c
expression: rewrite builtin function: INTERVAL ( #4421 )
2017-09-07 00:02:49 +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
f289c9bd25
expression: fix date cmp date ( #4294 )
2017-08-24 14:50:40 +08:00
72ba0bc04b
expression, plan: fix the index selection's bug ( #4286 )
2017-08-23 15:43:37 +08:00
d0beee7aa0
expression: rewrite builtin function: COALESCE ( #4157 )
2017-08-22 19:34:34 +08:00
246de6b354
expression: unit test coverage from builtin_compare.go from 53.2% to 85.8% ( #3792 )
2017-07-18 19:07:29 +08:00