91cdbf2f54
planner: support window function ( #8630 )
2019-01-03 16:56:06 +08:00
477e252b35
expression: handle empty input and improve compatibility for format ( #8797 )
2019-01-02 14:13:08 +08:00
5e0a4f1db3
expression: return null when cast to huge binary type ( #8768 )
2018-12-29 17:16:46 +08:00
b818fb2f01
expression,util/encrypt:add support for AES CFB mode ( #8760 )
2018-12-21 17:10:58 +08:00
94df8d1e30
*: ignore unknown hint and return warning instead of return a parser error ( #8685 )
2018-12-21 13:44:54 +08:00
1d3ecdf664
*: fix misspelled words ( #8722 )
2018-12-18 11:48:38 +08:00
63e7dacf8d
expression: do not set ParseToJSONFlag to a JSON column ( #8564 )
2018-12-12 13:36:44 +08:00
18b33fb425
expression,planner: fix to preserve the precision information of a timestamp-typed column in the plan cache ( #8619 )
2018-12-10 20:12:24 +08:00
ce622ec6d8
session: move more session vars to stmt context for retrying ( #8034 )
2018-12-10 16:39:43 +08:00
353861fe8f
expression: fix abs push down sign bug ( #8622 )
2018-12-10 10:48:49 +08:00
d9e02b76dd
expression: remove redundant "errors.Trace()" in "expression" package ( #8609 )
2018-12-07 12:20:31 +08:00
fde9c72af5
expression, executor: castStringAsTime returns null when sql_mode is not strict ( #8516 )
2018-12-06 23:12:55 +08:00
e61bad0769
expression: handle corrupted length in uncompress builtin function ( #8586 )
2018-12-06 22:36:49 +08:00
93acd10f53
*: add context.Context to NewTxn(), tiny refactor ( #8530 )
2018-12-06 17:45:16 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
1cc9d4d53c
expression: split aggregation descriptor for reuse ( #8559 )
2018-12-04 16:22:15 +08:00
6e27de255b
expression: fix incorrect date arithmitical with negative interval ( #8523 )
2018-12-04 10:34:47 +08:00
c677187728
plan: support ? in Order By / Group By / Limit Offset clauses ( #8206 )
2018-12-03 21:48:54 +08:00
2f6639d12b
expression: add builtin function tidb_parse_tso ( #8385 )
2018-11-28 22:37:44 +08:00
d42a4b34c5
expression: a constraint propagate framework mainly for partition pruning ( #7643 )
2018-11-28 21:44:18 +08:00
cd7e27d6ee
sessionctx: Set foreign_key_checks = OFF ( #8358 )
2018-11-26 21:57:30 +08:00
1f46efe156
expression: add builtin function JSON_DEPTH ( #8347 )
2018-11-26 20:25:59 +08:00
4149000582
planner/core, expression: don't pushdown filters contains set or get var ( #8412 )
2018-11-26 16:31:17 +08:00
87838774e6
types: let round take effect in converting float string to int string. ( #8279 )
2018-11-26 15:55:11 +08:00
6bed56db1f
expression: support JSON return type in case expression ( #8355 )
2018-11-21 14:07:05 +08:00
b4746797fc
*: clone AggDesc before modifying its Mode in AggDesc.Split ( #8328 )
2018-11-16 15:53:22 +08:00
64781daadd
expression: make tests work with mysql sql_mode ( #8278 )
2018-11-13 10:24:03 +08:00
29f14d4178
*: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' ( #7965 )
2018-11-09 16:32:21 +08:00
4a3080a1c1
plan: use original field name when Column is extracted from IfNull ( #8225 )
2018-11-08 15:13:45 +08:00
1082d5f1ac
expression: fix wrong compare result of row ( #8222 )
2018-11-08 12:45:03 +08:00
34c3d4ccc6
planner,executor,parser: support the prepared plan cache for insert/delete/update statements ( #8107 )
2018-11-05 14:24:48 +08:00
6efbd17b03
expression: fix "values" function in non-insert statement ( #8019 )
2018-11-05 11:51:11 +08:00
fffb49bce6
*: modify tests to work with only-full-group-by on ( #8163 )
2018-11-05 10:41:48 +08:00
761365b31c
*: avoid using columnEvaluator for the Projectin build by buildProjtion4Union ( #8142 )
2018-11-02 17:28:09 +08:00
31f5abdad8
apply unit:day special logic on unit:hour for INTERVAL segment ( #8146 )
2018-11-02 14:14:57 +08:00
5374ff8935
expression,planner: support non-deterministic functions (e.g., now) in the plan cache ( #8105 )
2018-11-01 23:53:32 +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
9ec7515743
*: Add few error checks in tests, clean error messages and fix a misspell ( #8101 )
2018-10-31 18:50:43 +08:00
3febc22811
expression: fix cast json to decimal bug. ( #8030 )
2018-10-29 17:02:32 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
b87b5f0898
expression: refine built-in func truncate to support uint arg ( #8000 )
2018-10-24 15:42:32 +08:00
25118db843
*: move ast.NewValueExpr to standalone parser_driver package ( #7952 )
...
Make the ast package get rid of the dependency of types.Datum
2018-10-19 19:37:55 +08:00
708611d898
expression: add builtin json_keys ( #7776 )
2018-10-18 23:54:00 +08:00
bfc12cd8de
util: move disjoint set to util package ( #7950 )
2018-10-18 20:23:45 +08:00
1c165df39b
expression: maintain DeferredExpr in aggressive constant folding. ( #7915 )
2018-10-17 13:34:19 +08:00
6064d6482f
plan: propagate constant over outer join ( #7794 )
...
- extract `outerCol = const` from join conditions and filter conditions,
substitute `outerCol` in join conditions with `const`;
- extract `outerCol = innerCol` from join conditions, derive new join
conditions based on this column equal condition and `outerCol` related
expressions in join conditions and filter conditions;
2018-10-16 14:54:09 +08:00
19e4e2fa9f
expression: MySQL compatible current_user function ( #7801 )
2018-10-16 13:53:07 +08:00
b3ef641f4b
types: fix bug which Float type is not effective in AddDate & SubDate function ( #7840 )
2018-10-12 18:36:35 +08:00
f6f03db6dd
expression: fix warning/error info of group_concat() ( #7799 )
2018-10-11 17:01:47 +08:00
f3a9390d18
executor: refine the precision for avg ( #7860 )
2018-10-11 14:51:56 +08:00