Commit Graph

2514 Commits

Author SHA1 Message Date
a18977a93b expression: fix a bug caused by cast function signature wrong in aggregation push down (#28805) 2021-11-01 10:46:51 +08:00
5e7a871c3d planner: refine warnings about can't push down to TiFlash. (#29285) 2021-11-01 00:02:50 +08:00
0caac786a7 expression: support hour/minute/second/microSecond pushdown to tiflash. (#29269) 2021-10-31 09:14:50 +08:00
4bd41e9109 expression: push down CastTimeAsReal to TiFlash (#29274) 2021-10-31 09:02:50 +08:00
0ee40992c7 expression: support pushdown duration to tiflash (#28914) 2021-10-30 00:54:51 +08:00
9dc4630b47 *: make expression index as experimental feature (#28307) 2021-10-30 00:40:51 +08:00
83e559db0a planner: allow refineArgs for plan cache in some situations (#28944) 2021-10-29 18:09:49 +08:00
6297c589e0 expression : support sysdate pushed down to tiflash (#29063) 2021-10-29 12:06:50 +08:00
9683b20113 expression: migrate test-infra to testify for expression/util_test.go (#29209) 2021-10-29 11:12:49 +08:00
128b61c7cd expression: migrate test-infra to testify for expression/column_test.… (#29198) 2021-10-28 20:46:49 +08:00
a16737e2ba expression: migrate test-infra to testify for expression/scalar_function_test.go (#29176) 2021-10-28 19:34:48 +08:00
65904d84ce expression: enable pushing down ltrim/rtrim to TiFlash (#29162) 2021-10-28 16:00:49 +08:00
4b4984e6cc planner: remove duplicate predicates in the Selection operator (#28317) 2021-10-28 15:18:49 +08:00
b7ed87de7c expression: migrate builtin tests (#29125) 2021-10-27 21:18:49 +08:00
8fb4ce573c expression: support GBK charset for builtin function ascii() (#29071) 2021-10-27 16:32:49 +08:00
b81296ff02 expression: migrate test-infra to testify for expression/collation_test.go (#28849) (#28965) 2021-10-27 13:40:49 +08:00
bfe344cd63 expression: migrate test-infra to testify for expression/constant_test.go (#28854) (#28895) 2021-10-27 10:24:48 +08:00
5bb63bd8fc expression: migrate generated tests to testify (#29083) 2021-10-26 19:14:48 +08:00
88f57113ce planner: add more test cases about plan-cache with varied operators (#29100) 2021-10-26 15:36:48 +08:00
836b10200b expression: support GBK charset for builtin function to_base64() (#29054) 2021-10-25 23:36:48 +08:00
efa94595c0 *: enable golangci-lint unconvert (#28929) 2021-10-23 21:28:47 +08:00
465d2e7450 expression: handle mixed offsets and names zones in CONVERT_TZ (#28528) 2021-10-23 13:52:46 +08:00
26ab066b59 expression: add builtin func length() for gbk (#29011) 2021-10-21 18:20:46 +08:00
412dd4f763 parser: refactor Parse() interface to make it extensible (#28975) 2021-10-21 10:56:45 +08:00
7f36a07de9 *: fix Temporary Table doesn't work correctly with sequence (#28946) 2021-10-20 16:20:41 +08:00
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