Commit Graph

1963 Commits

Author SHA1 Message Date
0f2dbcdca4 expression: constant propagation for outer join don't prop con… (#15855) 2020-04-22 15:32:42 +08:00
692e0098b1 expression: avoid Order By constant expression error when pl… (#16261) 2020-04-21 20:04:23 +08:00
94011e6064 expression: fix the issue that incorrect result for query that uses an AND operator on floats (#15927) 2020-04-21 14:38:18 +08:00
0d5a83162b util: build right range when where stmt only have string column. (#16645) 2020-04-21 14:08:26 +08:00
8b6d53a4a9 expression: split isTrue and isFalse expression sig (#16542) 2020-04-20 20:11:47 +08:00
2a69052cf1 test: fix unit test and make test running serially. (#16525) 2020-04-20 17:44:26 +08:00
31ff075d4f expression: fix wrong flen for case when function (#16352) 2020-04-17 23:04:03 +08:00
bdbdbaed7f expression: fix the issue that incorrect result for a predicat… (#16014) 2020-04-17 22:43:32 +08:00
2b03cf28dd util: fix wrong range when building from string column is true. (#16135) 2020-04-17 22:24:05 +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
b8494e7a11 expression: support disable expression pushdown based on store… (#16389) 2020-04-17 14:53:25 +08:00
eeffe1e26f planner, expression: set correct for ctx in isNullRejected (#16430) 2020-04-16 16:24:57 +08:00
ac8785a978 expression: fix wrong constant propagation with the collation (#16227) 2020-04-16 14:10:10 +08:00
080a94d9e6 test: fix tests which may fail because of concurrency (#16446) 2020-04-16 11:36:31 +08:00
62c1c8d893 expression: fix builtinRegexpSharedSig unexpected error when input rowNum is empty (#16405) 2020-04-15 22:56:58 +08:00
8f000fc353 planner: push avg & distinct functions across union (#16344) 2020-04-15 18:07:37 +08:00
d26875db7e expression: fix error PushDownNot for contiguous NOT (#16108) 2020-04-15 17:52:14 +08:00
7e71069ffa planner: fix generated column causes a server crash (#16376) 2020-04-15 14:54:32 +08:00
5f0585415b expression: forbidden illegal mix collate (#16277) 2020-04-15 14:41:27 +08:00
57739a2179 expression: implement vectorized evaluation for builtinConvertTzSig (#16349) 2020-04-15 14:07:08 +08:00
ca7082abbd expression: mark random_bytes() as deferred function (#16367) 2020-04-15 13:33:27 +08:00
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