Commit Graph

2438 Commits

Author SHA1 Message Date
e154b31e84 expression: fix enum cannot use index to update (#27752) 2021-09-02 20:42:14 +08:00
b0c9d19c5e expression: remove useless code (#27700) 2021-09-01 19:36:13 +08:00
054ebd80bc expression: fold constant should keeps the original charset and collation (#27533) 2021-09-01 13:04:13 +08:00
aebe657cd8 *: add charset information into field type (#27644) 2021-08-30 17:34:12 +08:00
f50dd1f24c expression: Push down group concat to TiFlash (#24778) 2021-08-30 15:44:12 +08:00
3e8f8bbd99 types: fix inaccurate return type of plus between bit and int (#26888) 2021-08-27 16:56:05 +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
0f51627cd1 expression, executor: introduce propagateType for castDecimalAsReal (#26651) 2021-08-24 15:36:04 +08:00
98275ca97e util/codec: check length before slicing (#27442) 2021-08-20 23:36:01 +08:00
90626b8a49 ddl, expression: fix some string functions' flen and refine error message for expression index (#27376)
* done

Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-08-20 21:13:58 +08:00
c9c3463ac1 expression: fix wrong result for date add sub (#27244) 2021-08-20 17:28:02 +08:00
bb9d08ce9a expression: support pushing function ROUND to TiFlash (#27360) 2021-08-20 16:22: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
af66129b1e go.mod: update parser (#27339) 2021-08-18 19:30:00 +08:00
ed174286b8 expression: check type for virtual column use list (#27275) 2021-08-18 11:44: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
155ead5370 executor: fix unstable TestSelectAsOf (#27163) 2021-08-16 11:51:59 +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
cd5499e994 planner: Fix the problem that PlanBuilder.buildWindowFunctions may change sub operator's schema. (#27176) 2021-08-13 16: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
f93ae253ec expression: Added type compare check for int/binary strings for BETWEEN, issue-23602 (#27085) 2021-08-12 11:51:15 +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
73bb7dd2c6 *: Annotations and fixes related to gosec (#26907) 2021-08-09 22:27:15 +08:00
30cf15a59d expression/expression: add pushdown functions (#26786) 2021-08-08 21:25:13 +08:00
8e0b5706d5 expression: Support push InetAton, InetNtoa, Inet6Aton, and Inet6Nota down to TiFlash (#26984) 2021-08-07 20:13:13 +08:00
7afab6eafb planner: add missing distinct flag for Apply convert to join (#26959) 2021-08-06 18:17:13 +08:00
4d9473a6c6 expression: Add missing pbcode for functions InetAton/InetNtoa/Inet6Aton/Inet6Ntoa/IsIPv4/IsIPv4Compat/IsIPv4Mapped/IsIPv6. (#26939) 2021-08-06 16:11:13 +08:00
5561c0b819 expression/builtin: Add privilege check to function tidb_decode_sql_digests (#26953) 2021-08-06 14:41:13 +08:00
cdaf996f56 expression/builtin: Add tidb_decode_sql_digests function (#26787) 2021-08-06 00:09:12 +08:00
ce429a4ae9 expression: support date function pushed down to tiflash (#26640) 2021-08-05 15:35:13 +08:00
e46d9dd03d expression: Push down ADDDATE(), DATE_ADD() on String, Real types (#26441) 2021-08-05 15:25:13 +08:00
ebb7d70268 expression: Support mathematical functions pushdown to tiflash (#25596) 2021-08-05 14:55:13 +08:00
853c41e3fb executor: add builtin aggregate function json_arrayagg (#19957) 2021-08-04 16:15:07 +08:00
2ac40194da expression: fix wrong EqualByExprAndID (#26829) 2021-08-03 17:47:08 +08:00
6a84ce3a86 types: fix CAST('2.0.8 X' AS DATE) (#26259) 2021-08-03 16:09:07 +08:00
83181c6bcb planner: steady expression index selection when having duplicate expressions (#25826) 2021-08-02 14:47:06 +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
e116573fbb expression: push down mod() to TiFlash (#26494) 2021-07-27 12:50:15 +08:00
dd2fadb190 expression, executor: fix type infer for greatest/leastest(datetime) (#26533) 2021-07-26 17:04:16 +08:00
dbe1f176a4 Revert: "*: keep the precision of intermediate decimal result as accurate as possible" (#26443) 2021-07-21 17:51:35 +08:00