Commit Graph

2423 Commits

Author SHA1 Message Date
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
39c9a4d47a *: keep the precision of intermediate decimal result as accurate as possible (#26372) 2021-07-20 20:25:35 +08:00
57576eb816 expression: fix output name for hidden column (#26354) 2021-07-20 14:55:34 +08:00
39a56e5c4d expression: prevent function of castYearAsTime from pushing down to Ti… (#25975) 2021-07-20 14:45:34 +08:00
4325eebcf4 expression: optimize localSliceBuffer to be lock-free (#26078) 2021-07-16 13:13:33 +08:00
1fd8aa8070 expression: minus/plus/multiply (for Int and Real) check null iff overflow (#26105) 2021-07-15 17:49:33 +08:00
f3c5c1ec90 expression: fix incompatible timestamp conversion between mysql and tidb (#25612) 2021-07-14 15:59:33 +08:00
8f8dcf3a06 *: temporarily skip some unstable test cases (#26149) 2021-07-12 20:21:32 +08:00
d4a17a6151 expression: mod check null if zero (#26109) 2021-07-12 10:59:31 +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
8885b70bfe types, expression: fix gotime.local problem (#25510) 2021-07-08 14:59:29 +08:00
3c3096e8c0 expression: Fix greatest and least function lost decimal precision compared with MySQL (#25766) 2021-07-07 15:29:29 +08:00
22628ab1f5 planner: support using expression index when conditions are connected by or or not (#25969) 2021-07-07 14:11:29 +08:00
5a07699871 expression: fix incompatible last_day func behavior in sql mode (#25953) 2021-07-06 18:51:29 +08:00
985d42c343 types: fix json_unquote (#25875) 2021-07-06 16:13:28 +08:00