Commit Graph

2000 Commits

Author SHA1 Message Date
2d898ef971 expression: enable if/bitxor/bitneg pushdown for TiFlash (#17626) 2020-06-04 10:31:13 +08:00
23af4b9be9 expression: fix a bug that hex function return the wrong result if the type of column is binary string (#17590)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-06-03 11:32:02 +08:00
d53336bd4a planner: support sql_select_limit session / global variable (#17444) 2020-06-02 18:02:29 +08:00
f03677cc11 expression: push down expr json_length to tiflash (#17588) 2020-06-02 17:37:05 +08:00
23759514ec expression: support collation for REGEXP function (#17255) 2020-06-02 15:18:47 +08:00
eafa1229ab expression: fix wrong result for field function (#15511) 2020-06-01 17:00:19 +08:00
f1b21b562a types: match MySQL behavior with datetime delimiters (#17376) 2020-05-29 11:05:35 +08:00
777907bcee planner: push agg below partition union all by default (#17262) 2020-05-28 18:11:13 +08:00
b5bb0090e7 *: fix LIKE expressions with _ following % (#17418) 2020-05-28 15:05:10 +08:00
12bd862a46 ddl,expression: fix using extract() function as partition key when creating partition table (#17461) 2020-05-28 14:58:03 +08:00
8da89b7af8 expression: speed up TestIssue16697 (#17400) 2020-05-26 13:58:14 +08:00
313ed01f03 expression,executor: fix DIV() as partition expression behavior under ERROR_FOR_DIVISION_BY_ZERO sql_mode (#17302) 2020-05-20 17:05:14 +08:00
f17da4a5d7 plan, expression: support is null in hash partition pruning (#17281) 2020-05-20 15:54:44 +08:00
ac30f5322e mockstore: introducing embedded unistore (#17156) 2020-05-18 17:28:44 +08:00
78d69004ad ddl: consider collation when checks enum value in create table statement (#17177) 2020-05-15 16:49:22 +08:00
bcbc25db68 executor: make the aggregation function distinct consider collations (#17182) 2020-05-15 15:59:15 +08:00
ea2e215ff8 *: fix a bug caused by the wrong collation setting which leads to the wrong result of collation function (#17116) 2020-05-15 13:30:49 +08:00
1417ba2288 *: fix a bug that don't handle truncate properly for virtual generated column (#17217) 2020-05-14 20:57:55 +08:00
e8779717d9 planner, expression: Remove the default asc order in explain result (#17074) 2020-05-14 17:38:19 +08:00
f7ca1164b1 copr: fix push down function in integration test (#16533) 2020-05-13 22:04:23 +08:00
a1763c1b6e executor: fix memory corrupt in COUNT/JSON_OBJECTAGG/GROUP_CONCAT (#17106) 2020-05-13 16:58:20 +08:00
52837168ea executor: make memory tracing in ProjectionExec more accurate (#17109) 2020-05-12 14:13:05 +08:00
6a49bb4a84 *: fix a bug which causes function return truncated result (#17101) 2020-05-12 12:54:35 +08:00
d8c0659681 planner: fix TiDB server panic when uses indexMerge with the virtual generated column (#17065) 2020-05-11 15:40:29 +08:00
d823deb583 expression: fix case-sensitive problem for function INSTR and LOCATE (#16792) 2020-05-09 18:00:05 +08:00
3224393c7f executor: fix wrong plan type for dataReaderBuilder error (#17028) 2020-05-08 14:34:45 +08:00
d367a0101e expression: after introducing collation, the experssion should be thread-safe (#16600) 2020-05-06 21:22:40 +08:00
7ebcc20398 executor: support GROUP_CONCAT(ORDER BY) (#16591) 2020-05-06 18:41:22 +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
f51c2001bf expression: return an error when finding some expressions cannot be pushed down to avoid panic (#16671) 2020-04-27 20:47:37 +08:00
af376db3dc *: refactor Handle in tablecodec and rowcodec (#16705)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-04-23 18:55:59 +08:00
8fa4ffdf4c expression: mark row_count as un-cacheable (#16654) 2020-04-23 14:27:50 +08:00
242ce93302 Revert "expression: support NO_ZERO_DATE sql_mode" (#16740) 2020-04-23 13:37:19 +08:00
db7c13537a expression: support NO_ZERO_DATE sql_mode (#16053) 2020-04-22 23:27:01 +08:00
a56b1aa543 test: make TestFromUnixTime stable in different timezone (#16692) 2020-04-22 23:10:32 +08:00
62e4d588a8 Makefile: add unconvert to inspect unnecessary type convert (#16549) 2020-04-22 23:01:59 +08:00
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