Commit Graph

2451 Commits

Author SHA1 Message Date
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
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