Commit Graph

2465 Commits

Author SHA1 Message Date
b50474c4e9 variable: add support for identity (#28449) 2021-09-29 01:14:47 +08:00
3e2605acd5 planner: fix the issue that planner may cache invalid plans for joins in some cases (#28432) 2021-09-28 11:09:13 +08:00
02fd303db6 expression: fill %s in error of decimal overflow (#28338) 2021-09-27 21:02:47 +08:00
87de9fac17 expression: pushdown substring_index to TiFlash (#27857) 2021-09-27 19:30:47 +08:00
abae1fbb3f expression: fix invalid Flen of decimal value when using plan cache (#28100) 2021-09-27 15:04:48 +08:00
13be486682 planner: rename some variables for easy understanding (#28226) 2021-09-26 13:20:46 +08:00
d97cd8ea6d expression: refactoring returning time type (#28252) 2021-09-26 10:42:46 +08:00
bfbea9c3ef variable: Add support for mock globalvars (#26990) 2021-09-23 02:10:46 +08:00
b339ca29c8 expression: aggregate the collation only if the function is needed. (#27789) 2021-09-22 13:40:45 +08:00
c52cc5efa7 expression: fix fsp for timestamp function (#28136) 2021-09-22 12:30:45 +08:00
4107115026 variable: add support for last_insert_id (#28072) 2021-09-21 01:10:45 +08:00
3c9c01e960 expression: fix typo (#27088) 2021-09-18 17:44:43 +08:00
651c47dbb8 expression: fix substring_index() gets wrong result for uint64 index. (#28098) 2021-09-18 13:22:43 +08:00
d88e64c194 executor: add stale read compatibility unit test for each cases (#28146) 2021-09-17 16:46:42 +08:00
2866e1dfd4 sessionctx: support session variable tidb_read_staleness (#27858) 2021-09-16 15:20:43 +08:00
e4c58a298a expression/aggregation: migrate test-infra to testify for aggregation_test.go (#27911) 2021-09-16 10:00:42 +08:00
e262e59842 expression: refine and fix some functions' return type (#27991) 2021-09-15 15:46:41 +08:00
83445d626e expression: fix some problems related to flen (#27677) 2021-09-15 14:18:42 +08:00
01e1ceda08 expression, executor: fix license header (#28050) 2021-09-15 10:56:42 +08:00
d42e4c0cc3 expression/aggregation: migrate test-infra to testify for util_test.go (#27913) 2021-09-13 09:46:39 +08:00
de2a9aca44 expression/aggregation: migrate test-infra to testify for agg_to_pb_test.go (#27910) 2021-09-11 10:42:39 +08:00
cdd8fc48aa expression/aggregation: migrate test-infra to testify for base_func_test.go (#27912) 2021-09-10 23:40:38 +08:00
aa04be3134 expression: decrease the execution time of TestMockVecPlusIntParallel (#27944) 2021-09-10 23:28:39 +08:00
1cd95a8b94 *: add more daily benchmark test cases (#26773) 2021-09-10 23:00:38 +08:00
6fc17a0224 expression: split TestVectorizedBuiltinStringEvalOneVec and TestVectorizedBuiltinStringFunc (#27942) 2021-09-10 13:44:39 +08:00
39a1b43666 *: fix some problems related to notNullFlag (#27697) 2021-09-09 11:04:38 +08:00
5802a6d916 types: remove some unreachable codes. (#27767) 2021-09-08 02:12:58 +08:00
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