Commit Graph

2489 Commits

Author SHA1 Message Date
1517977f56 expression: delete unused function newBuffer in expression/builtin_vectorized.go (#28952) 2021-10-19 21:10:43 +08:00
acb3a89634 expression, parser: fix the result of trim3Args (#28936) 2021-10-19 21:00:43 +08:00
9f8c053d06 parser: refactor encode and decode (#28917)
* refactor encoding

* add a simple test case for encoding

Co-authored-by: tangenta <tangenta@126.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-10-19 15:50:33 +08:00
502f34f975 *: fix Makefile for bench-daily (#28868) 2021-10-19 10:38:42 +08:00
bb55e9c31b expression: format pushdown (#28269) 2021-10-18 10:46:41 +08:00
42001503cb expression, parser: support GBK charset for builtin function lower() (#28869) 2021-10-15 18:02:41 +08:00
db056cfe0c expression: Fix wrong result of hour function in vectorized expression (#28857) 2021-10-15 16:35:27 +08:00
ac9dcbb53f expression: support GBK charset for builtin function upper() (#28817) 2021-10-15 15:29:27 +08:00
6de68d0571 expression: add extra enum info for push down check (#28712) 2021-10-15 13:09:26 +08:00
6c109c91f7 planner: forbid constant fold when plan cache enable (#28790) 2021-10-14 17:33:27 +08:00
092544cd1d distsql: add distsql package benchmark to daiy bench test (#28724) 2021-10-14 17:09:27 +08:00
bd68045ffb expression: support lower function pushed down to TiFlash (#28376) 2021-10-14 15:05:27 +08:00
f0e3ad8566 expression: support ucase/upper function pushed down to TiFlash (#28369) 2021-10-13 15:51:29 +08:00
e96100b5b5 expression: support GBK charset for builtin function hex() (#28305) 2021-10-13 15:23:28 +08:00
4c4d3f6daa planner: generate the additional filter in table filter when enable plan cache (#28722) 2021-10-12 17:01:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
e8f4e47798 expression: no-op implementation for load_file to support Navicat (#28216) 2021-10-11 16:33:26 +08:00
32f96fef77 expression: make infer collation support the expressions with different charset (#27863) 2021-10-11 14:51:25 +08:00
501e87ec44 planner: fix the issue that some PointGet plans generated in physical-stage cannot be cached (#28478) 2021-10-09 17:33:24 +08:00
af09803e07 test: remove misuse of errors.ErrorStack in tests (#28661) 2021-10-09 14:17:24 +08:00
36d0b4067d expression: not push invalid cast to tiflash (#28458) 2021-10-08 15:33:23 +08:00
a18e05d2f7 expression: limit valid decimal length (#28466) 2021-10-08 14:49:23 +08:00
042f498756 sessionctx/variable: Fix performance regression in NewMockGlobalAccessor (#28303) 2021-09-30 11:12:47 +08:00
17d2ae36d1 *: make sysvar tidb_enable_noop_funcs support a WARN mode (#28443) 2021-09-30 11:02:48 +08:00
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