Commit Graph

33 Commits

Author SHA1 Message Date
786a9d54a3 expression,util/encrypt: add support for AES OFB mode (#8605) 2019-01-11 14:22:57 +08:00
b818fb2f01 expression,util/encrypt:add support for AES CFB mode (#8760) 2018-12-21 17:10:58 +08:00
e61bad0769 expression: handle corrupted length in uncompress builtin function (#8586) 2018-12-06 22:36:49 +08:00
9ec7515743 *: Add few error checks in tests, clean error messages and fix a misspell (#8101) 2018-10-31 18:50:43 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
038ac639ba expression: ECB/CBC modes with 128/192/256-bit key length for AES (#7425) 2018-09-23 22:09:02 +08:00
8b1feeb9d4 Add two buildin function ( decode and encode) (#7622) 2018-09-10 18:48:15 +08:00
6e7d75299d test: refine test (#7414) 2018-08-16 17:05:59 +08:00
06021c7cfe remove types.Row interface (#7170) 2018-07-27 13:45:03 +08:00
99aba76c90 *: Make 'IF NOT EXISTS' great again in 'CREATE TABLE IF NOT EXISTS LIKE' syntax (#6896) 2018-06-26 12:24:57 +08:00
ae4300d03b expression: Add deprecation warning for builtin function PASSWORD (#6000) 2018-03-13 12:37:04 +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
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
bf97933508 expression: rewrite builtin function: MD5, SHA1, SHA2 (#4109) 2017-08-10 10:48:46 +08:00
5077f46036 expression: rewrite builtin function: COMPRESS, UNCOMPRESS, UNCOMPRESSED_LENGTH (#4095) 2017-08-09 20:56:53 +08:00
96857eb021 expression, executor: password should return empty string when parameter is null (#3880) 2017-07-25 23:19:12 +08:00
f4abbdbc5e expression, plan: move typeinfer of agg funcs to expression rewriter (#3654) 2017-07-10 16:24:25 +08:00
cb7b400995 expression, executor: rewrite builtin function MD5 (#3673) 2017-07-10 10:48:28 +08:00
900fa9fbb9 expression:rewrite password using new expression evaluation architecture (#3593) 2017-07-04 17:48:11 +08:00
e294500a17 expression:implement function password. (#3275) 2017-06-02 15:08:40 +08:00
bc2bba1130 add:impl builtin uncompress & uncompressedlength (#3136) 2017-05-11 17:10:16 +08:00
59154905aa *: rename table-driven tests name. (#3081) 2017-04-19 10:02:57 +08:00
5516ca56e6 builtin: add compress funciton (#2879) 2017-03-31 13:33:00 +08:00
Van
c83bdda7b0 builtin: add random-bytes function (#2927) 2017-03-28 14:02:45 +08:00
88bfb59db2 mod: add sha2 built-in function (#2914)
* mod: add sha2 built-in function
2017-03-24 05:44:52 -05:00
754c58b188 expression: Use Datum.ToBytes() in AESEncrypt/Decrypt (#2783) 2017-03-05 09:33:12 -06:00
8934e0c4a0 builtin: add sha/sha1 built-in function (#2781)
* mod: add sha/sha1 built-in function

* Address comment

* unify  return style

* address comments, add some test cases
2017-03-05 18:00:49 +08:00
0391820318 experssion: implement MD5 builtin function (#2780)
* experssion: implement MD5 builtin function
2017-03-05 02:58:47 -06:00
2f07f7141d *: Support basic aes_encrypt/aes_decrypt function. (#2640) 2017-02-16 14:03:44 +08:00