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
c70662bbec
expression: show display name in error messages ( #26665 )
2021-07-28 21:50:22 +08:00
3d685035ff
expression: fix incorrect result of IsTrue function for time types ( #21534 )
2020-12-08 21:05:13 +08:00
2daee416f3
expression: keep xor result consistent with mysql 8 ( #15934 )
2020-05-06 14:04:32 +08:00
9d391949cd
expression: refactor logic about checking illegal mix collations ( #16866 )
2020-04-29 16:40:56 +08:00
8b6d53a4a9
expression: split isTrue and isFalse expression sig ( #16542 )
2020-04-20 20:11:47 +08:00
d26875db7e
expression: fix error PushDownNot for contiguous NOT ( #16108 )
2020-04-15 17:52:14 +08:00
6b9703bc5f
expression: panic in test mode if builtin function's PbCode unspecified ( #13334 )
...
Signed-off-by: Lonng <heng@lonng.org >
2019-11-12 15:31:12 +08:00
542ba1299d
expression: fix incorrect result of logical operators ( #12173 )
2019-10-14 21:31:33 +08:00
67d4f913dd
expression: fix type infer of unaryMinus which should return ETDecimal if ETInt overflow int ( #11989 )
...
Signed-off-by: Lonng <heng@lonng.org >
2019-09-02 21:30:13 +08:00
5ee0847cab
expression: fix wrong result of Not/IsTrue/IsFalse functions ( #10498 )
2019-08-20 23:15:09 +08:00
d9e02b76dd
expression: remove redundant "errors.Trace()" in "expression" package ( #8609 )
2018-12-07 12:20:31 +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
06021c7cfe
remove types.Row interface ( #7170 )
2018-07-27 13:45:03 +08:00
5f7fc80389
expression, types: fix decimal minus/round/multiple result ( #7001 )
2018-07-12 00:02:19 +08:00
357d5df66b
remove useless alias ( #6473 )
2018-05-05 22:36:54 +08:00
f21483e6ed
expression: add Clone() for builtinFunc
2018-04-11 10:00:19 -05:00
0553deeb42
*:improve code readability and unified aliases ( #5997 )
2018-03-15 10:52:36 +08:00
12c87929b8
*:fix some golint && ineffassign && misspell to improve GoReport Result ( #5867 )
2018-02-23 19:31:05 +08:00
4e1a114e68
*: move package context to sessionctx ( #5890 )
2018-02-22 18:03:38 +08:00
fc6376981d
*: remove GetSessionVars() in expression evaluation ( #5683 )
2018-01-22 11:04:32 +08:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
ed7f68ca9b
*: Add Row interface ( #4859 )
2017-10-23 11:36:28 +08: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
83ace4f748
expression: return NULL when error is not nil ( #4749 )
2017-10-11 03:38:03 -05:00
b4ad894b0a
expression, plan: do come code clean and make golint happy ( #4681 )
2017-09-29 10:35:47 +08:00
f89db5b6ec
expression, types: export "evalTp" to "EvalType" and move it to package "types" ( #4626 )
...
* expression, types: export "evalTp" to "EvalType" and move it to package "types"
* add source file
* change "ETJSON" to "ETJson"
2017-09-26 11:25:27 +08:00
45bdd69cde
*: support signature push down. ( #4495 )
2017-09-25 18:58:42 +08:00
069cc8b222
expression: open new expression framework by default ( #4595 )
2017-09-22 15:29:42 +08:00
ae00bc2c04
expression: remove the usage of "TypeClass" in "builtin_op.go" ( #4547 )
2017-09-18 14:14:53 +08:00
55bbc41069
expression: adjust getFunction context.Context param position ( #4400 )
2017-09-01 16:03:19 +08:00
f564022e59
expression: set pb code for signatures. ( #4358 )
2017-08-29 13:45:31 +08:00
f02a615bed
expression: remove useless error return ( #4347 )
2017-08-28 20:34:30 +08:00
f289c9bd25
expression: fix date cmp date ( #4294 )
2017-08-24 14:50:40 +08:00
8584959c32
expression: remove builtin function: UNARYPLUS ( #4152 )
2017-08-11 19:35:52 +08:00
0bf26a1df7
expression: Refactor return sig.setSelf(sig), errors.Trace(c.verifyArgs(args)) ( #4123 )
2017-08-11 14:12:45 +08:00
eb7eb4325c
expression, plan: rewrite builtin function: IS TRUE && IS FALSE ( #4086 )
2017-08-11 13:26:56 +08:00
c301d9c929
expression: rewrite builtin function: ISNULL ( #4127 )
2017-08-10 17:17:42 +08:00
9a40975437
executor, expression: fix floor and ceil when handle int overflow ( #3980 ) ( #3981 )
2017-08-03 19:01:00 +08:00
d0dcb5b0a6
expression, parser: fix issue #3691 , cast compatibility ( #3894 )
2017-08-01 16:47:38 +08:00
240dcf8bc1
*: rewrite bitNeg using new expression evaluation architecture ( #3937 )
2017-07-28 19:14:55 +08:00
640e34dc97
*: rewrite unary not using new expression evaluation architecture ( #3925 )
2017-07-28 15:34:51 +08:00
4203eba42b
*: rewrite logicalXor using new expression evaluation architecture ( #3899 )
2017-07-27 19:52:07 +08:00
5ae3ae9e42
*: rewrite bitAnd using new expression evaluation architecture ( #3901 )
2017-07-27 06:01:18 -05:00
fb16e7364c
*: rewrite bitOr using new expression evaluation architecture ( #3904 )
2017-07-27 14:33:10 +08:00
df4d25b8fd
*: rewrite bitXor using new expression evaluation architecture ( #3905 )
2017-07-27 13:09:36 +08:00
88b5eb23f0
*: rewrite leftShift using new expression evaluation architecture ( #3906 )
...
* *: rewrite leftShift using new expression evaluation architecture
* *: rewrite rightShift using new expression evaluation architecture
* tiny change
* fix ci
* tiny change
2017-07-27 09:41:34 +08:00