Commit Graph

1942 Commits

Author SHA1 Message Date
e63a10e931 Add the check for expression evaluation in some executors (#16339) 2020-04-15 10:46:02 +08:00
7cc2c70041 expression: implement vectorized evaluation for `builtinJSONSe… (#15859) 2020-04-15 10:38:01 +08:00
73cd983e84 expression: implement vectorized evaluation for `JSONArrayAppe… (#16326) 2020-04-14 23:10:24 +08:00
36d8171319 expression: fix panic of explain for connection when plan cache is enabled (#16206) 2020-04-10 15:48:17 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
96d96ceb73 executor: fix unexpected error in union stmt. (#16073) 2020-04-08 09:45:55 +08:00
57db6cec7f expression: fix charset and collation for current_role (#16019) 2020-04-04 16:02:15 +08:00
4eb9ca3d3f planner: push aggregation functions with distinct to cop (#15500) 2020-04-01 20:49:14 +08:00
82529c886c exprssion, planner: fix the uncorrect behavior when finding access conditions (#15888) 2020-04-01 19:08:25 +08:00
53780cfaa7 expression: fix the bug that cannot perform vectorized express… (#15902) 2020-04-01 16:17:56 +08:00
4d05eaf9e5 expression: fix wrong inference of collation (#15914) 2020-04-01 15:54:14 +08:00
6eac964fb0 expression: fix sequence function usage privilege check (#15838) 2020-04-01 12:33:43 +08:00
25f15c7a5c planner: get enforced merge join with empty join keys when contains conflicted collation (#15841) 2020-03-31 22:13:42 +08:00
548bb6bbe1 expression: add a collation test for IndexMergeJoin (#15853) 2020-03-31 20:37:12 +08:00
a1d627a24e expression: fix incorrect result of logical operators for vectorized expression evaluation (#15891) 2020-03-31 17:41:41 +08:00
17530c4059 expression: Support collate for user session variable (#15449) 2020-03-31 11:29:07 +08:00
af787a3acf util: consider negative zero float for Hash Join (#15837) 2020-03-30 17:39:12 +08:00
12e1606b1c executor: fix failing to drop current database when new-collation is enabled (#15715) 2020-03-30 09:13:46 +08:00
c8fa259b2e expression: sec_to_time is not compatible with MySQL when the argument is a scientific notation number (#15614) 2020-03-28 22:14:05 +08:00
db789d7630 expression: fix the behavior when in func meet collation (#15609) 2020-03-26 22:52:24 +08:00
365ff9b57c *: handle signed/unsigned in the partition pruning (#15436) 2020-03-24 11:47:59 +08:00
21ee980e11 *: Refine Explain's format. (#15507) 2020-03-23 17:57:49 +08:00
981abb4712 expression: ban collation expression push down to TiFlash (#15580) 2020-03-23 17:47:01 +08:00
82829e1fa5 *: consolidate some settings related to the collation (#15553) 2020-03-23 17:38:31 +08:00
6f45155f8c expression: add explicit timer for sleep evaluate (#15478) 2020-03-23 16:55:04 +08:00
1bd1c07c05 expression: fix wrong behavior in values function for Bit(1). (#15350) 2020-03-19 15:40:45 +08:00
5e8706a1f6 util/collate: remove CollatorOption (#15472)
`CollatorOption` was used to specify the `PadLen` which aims to support
"PADDING" attribute of the collations. But now it is not needed anymore,
since TiDB actually implements "PADDING" by removing trailing spaces.
2020-03-19 15:16:29 +08:00
7a51cb6657 plan, expression: add date function support for hash partition (#15068) 2020-03-18 13:53:22 +08:00
1ff32ace27 executor: use MySQL compatible truncate error code (#15422) 2020-03-18 12:28:43 +08:00
6f1d2123dd expression: avoid reading/writing FieldType struct of Constant concurrently (#15364) 2020-03-16 19:04:53 +08:00
f58d9ffc65 *: add builtin function json_storage_size (#15248) 2020-03-15 10:00:23 +08:00
8d357790c7 expression: vectorized builtinFormatWithLocaleSig (#14920) 2020-03-15 09:52:53 +08:00
74626823f4 expression: fix collate bug in constant propagation (#15066) 2020-03-13 22:55:23 +08:00
4f21076918 expression: fix wrong behavior for IF(not_int, *, *) (#15016) 2020-03-13 15:30:24 +08:00
b18759b8c1 expression: fix behavior for CASE WHEN (not_int) (#15309) 2020-03-13 15:23:55 +08:00
8db471ff1f expression: fix the issue that casting a string to a real number is not compatible with MySQL (#15321) 2020-03-12 16:15:32 +08:00
80d577a143 expression: update builtinLike to be collation-aware (#15049) 2020-03-12 16:08:32 +08:00
280f4fa8ed copr: fix inconsistant behavior caused by push down dayname (#15326) 2020-03-12 16:03:03 +08:00
7a43056bab planner: forbid converting subqueries to inner-joins if the left and the right key have different collations (#15290) 2020-03-12 15:39:32 +08:00
a999ef6981 expression: support different expr push down for TiKV and TiFlash (#15174) 2020-03-11 16:16:03 +08:00
1cb773919b expression: vectorized builtinDateFormatSig (#14934) 2020-03-11 15:22:44 +08:00
6f6c415298 expression: vectorized builtinSleepSig (#15193) 2020-03-11 11:38:32 +08:00
188abc850a expression: fix invalid evaluation in builtinDateFormat (#15263) 2020-03-11 10:44:23 +08:00
7c39e5e5e0 expression: fix decimal of function FROM_UNIXTIME (#14936) 2020-03-10 21:36:02 +08:00
183a9d585a *: update explain info of outer hash joins (#15247) 2020-03-10 20:38:02 +08:00
20703ee8a6 expression: return binary charset and collation if there is no string-type argument in DeriveCollationFromExprs (#15250) 2020-03-10 17:26:46 +08:00
f5280c3cd4 expression: support sequence function unfold (#15144) 2020-03-09 19:43:46 +08:00
55b3e1110c *: reduce the allocation caused by Datum.Copy (#15219) 2020-03-09 17:38:46 +08:00
a7244ba645 expression, planner: fix group by and order by with explicit collate (#15186) 2020-03-09 16:55:46 +08:00
e58cef5718 expression,types: wrap ParseUint error with stack (#15188) 2020-03-09 14:28:45 +08:00