Commit Graph

659 Commits

Author SHA1 Message Date
e154b31e84 expression: fix enum cannot use index to update (#27752) 2021-09-02 20:42:14 +08:00
054ebd80bc expression: fold constant should keeps the original charset and collation (#27533) 2021-09-01 13:04:13 +08:00
fabfc22f88 util: fix wrong convert from string to enum (#27629) 2021-08-27 12:22:05 +08:00
8370cab551 planner: rename BuildLogicalPlan to BuildLogicalPlanForTest (#27606) 2021-08-26 18:42:05 +08:00
d5baa5dadf planner: fix expression rewrite makes between expr infers wrong collation. (#27254) 2021-08-24 18:24:04 +08:00
98275ca97e util/codec: check length before slicing (#27442) 2021-08-20 23:36:01 +08:00
949dafb35c expression: Fix wrong way to check for overflow (#27122) 2021-08-20 13:12:01 +08:00
a84ceb801f expression: fix extract bug when argument is a negative duration (#27318) 2021-08-19 13:28:00 +08:00
ead31402bc *: resolve select fields properly for coalesced columns of natural join (#25094) 2021-08-17 16:18:00 +08:00
1c6c548334 planner: add missing column for Apply convert to Join (#27246) 2021-08-17 11:49:59 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
73cadf060d ddl: improve MySQL compatibility on time-to-year conversion (#26884) 2021-08-13 22:49:58 +08:00
08995d915d expression: make count distinct multi column aware of new collation (#27111) 2021-08-13 19:57:58 +08:00
f7917916ed expression: do not derive filters containing null sensitive functions from outer join (#27067) 2021-08-13 14:49:22 +08:00
3ac7914b7e expression: make locate function consider collation (#27079) 2021-08-11 20:29:16 +08:00
d4208b5674 planner: fix wrong type when unsigned int value union int value (#26545) 2021-08-11 19:17:15 +08:00
f8564e3177 *: add infoschema.referential_constraints (#26450) 2021-08-10 12:17:15 +08:00
7afab6eafb planner: add missing distinct flag for Apply convert to join (#26959) 2021-08-06 18:17:13 +08:00
853c41e3fb executor: add builtin aggregate function json_arrayagg (#19957) 2021-08-04 16:15:07 +08:00
6a84ce3a86 types: fix CAST('2.0.8 X' AS DATE) (#26259) 2021-08-03 16:09:07 +08:00
6ab9d7dbcd expression: support Oracle translate function (#26408) 2021-07-29 16:18:17 +08:00
c70662bbec expression: show display name in error messages (#26665) 2021-07-28 21:50:22 +08:00
6421cecb12 expression: Fix wrong charset and collation for case when function (#26663) 2021-07-27 23:20:16 +08:00
f3c5c1ec90 expression: fix incompatible timestamp conversion between mysql and tidb (#25612) 2021-07-14 15:59:33 +08:00
372c529c16 expression: add builtin function `json_merge_patch` (#24711) 2021-07-10 13:13:31 +08:00
eedb191da4 Revert "expression: Fix greatest and least function lost decimal precision compared with MySQL" (#26046) 2021-07-09 10:45:30 +08:00
3c3096e8c0 expression: Fix greatest and least function lost decimal precision compared with MySQL (#25766) 2021-07-07 15:29:29 +08:00
83d318af46 executor: fix query empty table with IN clause reports 'invalid year' (#25901) 2021-07-05 18:59:28 +08:00
87db757daf expression: error information is inconsistent with MySQL about date or time literal (#25611) 2021-07-02 15:07:27 +08:00
88b587c08f expression: fix float64 overflow check in plus/minus real function (#24179) 2021-06-24 18:17:25 +08:00
6629462f43 expression: make escape character can be handled in like function (#25141) 2021-06-23 15:41:22 +08:00
b858ce43c0 config, session: make Local Transaction not to affect Stale Read (#25559) 2021-06-22 17:25:22 +08:00
ea1a1e79c5 expression: fix IN expr critical bug (#25653) 2021-06-22 17:13:23 +08:00
6454885d4b expression: fix BIT type columns are not padded with left zeros (#25575) 2021-06-21 16:54:53 +08:00
3132b59402 table: improve error message for incorrect utf8 value (#25087) 2021-06-21 15:48:53 +08:00
58d8b960fa execution: fix dayofweek('0000-00-00') behavior (#21508) 2021-06-21 11:42:53 +08:00
a6f52fb450 types: warning information is inconsistent with MySQL when convert string to double/float (#24889) 2021-06-21 11:06:52 +08:00
799591a06f session: read local dc replicas automatically for stale read (#25525)
* fix select

Signed-off-by: yisaer <disxiaofei@163.com>
2021-06-18 17:13:38 +08:00
aa9e5c6ea6 planner: fix index join on unmatched collation suffix columns paniced (#24828) 2021-06-15 17:32:36 +08:00
b52a38981c *: change SHOW CONFIG to require CONFIG privilege (#25379) 2021-06-15 16:56:36 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
a8ea9a75f2 store/tikv: make failpoints without code generations (#25247) 2021-06-10 17:58:29 +08:00
ac06d78691 *: enable column-type-change totally (#25263) 2021-06-09 10:56:29 +08:00
75388187f3 ddl: make the column type change switch transparent (#25213) 2021-06-08 17:16:28 +08:00
2017d2fd68 types: fix wrong truncated val for bit type (#25198) 2021-06-07 15:40:29 +08:00
be63681161 expression: processing empty string for enum index correctly (#25101) 2021-06-04 17:28:28 +08:00
30fcecad7f planner: add dml support in CTE (#25024) 2021-06-03 15:50:27 +08:00
963288a68c planner: build plan for CTE (#24792) 2021-05-28 16:47:35 +08:00
f3557bb591 planner, executor: supports select statement with AS OF (#24613) 2021-05-27 21:11:35 +08:00
2f96bc7502 expresssion: determine the field type of control function with enum type (#24830) 2021-05-27 11:45:35 +08:00