Commit Graph

459 Commits

Author SHA1 Message Date
9dc4630b47 *: make expression index as experimental feature (#28307) 2021-10-30 00:40:51 +08:00
4b4984e6cc planner: remove duplicate predicates in the Selection operator (#28317) 2021-10-28 15:18:49 +08:00
8fb4ce573c expression: support GBK charset for builtin function ascii() (#29071) 2021-10-27 16:32:49 +08:00
836b10200b expression: support GBK charset for builtin function to_base64() (#29054) 2021-10-25 23:36:48 +08:00
50b882004c *: set character_set_client for parser properly (#28925) 2021-10-25 20:32:48 +08:00
26ab066b59 expression: add builtin func length() for gbk (#29011) 2021-10-21 18:20:46 +08:00
9eb1cafd66 build: cmd & test are code (#28903) 2021-10-20 18:24:42 +08:00
42001503cb expression, parser: support GBK charset for builtin function lower() (#28869) 2021-10-15 18:02:41 +08:00
ac9dcbb53f expression: support GBK charset for builtin function upper() (#28817) 2021-10-15 15:29:27 +08:00
582358c392 cmd/ddltest: batch setup/teardown (#28772) 2021-10-15 10:47:26 +08:00
e96100b5b5 expression: support GBK charset for builtin function hex() (#28305) 2021-10-13 15:23:28 +08:00
5cc6b816b4 cmd/ddltest: migrate test-infra to testify (#28423) 2021-10-12 12:07:25 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
62bc4d5b54 cmd, server: support system variable character_set_results (#27875) 2021-10-11 16:17:25 +08:00
f379c8bb5a cmd, ddl: fix license header (#27707) 2021-09-02 15:30:15 +08:00
afca7649fa planner: refine prefer-range-scan behavior (#27123) 2021-09-02 12:06:14 +08:00
46da3ba557 ddl: the truncate error message is not compatible with MySQL when modifying the column type (#27556) 2021-08-26 13:30:05 +08:00
9e248d9420 planner: correctly set StatsVersion of tablePlan in copTask (#27161) 2021-08-25 18:06:04 +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
4e078d6315 util: use clone() to avoid reusing the same memory (#27372) 2021-08-19 18:18:02 +08:00
ed174286b8 expression: check type for virtual column use list (#27275) 2021-08-18 11:44:00 +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
5ae87cae85 types: fix fsp for datetime, time and timestamp (#27170) 2021-08-16 14:25:59 +08:00
4d5773c298 planner: fix the issue that UnionScan returns wrong results in dynamic mode (#26876) 2021-08-04 14:47:07 +08:00
dd5546dfd0 Revert "planner: fix the issue that UnionScan returns wrong results in dynamic mode" (#26853) 2021-08-03 19:21:06 +08:00
2745baad11 planner: fix the issue that UnionScan returns wrong results in dynamic mode (#26755) 2021-08-03 16:37:07 +08:00
0f32f3614d *: remove expression index out of experimental index (#26791) 2021-08-02 19:31:06 +08:00
cb65b7a2f7 statistics: improve out-of-range estimation strategy (#26502) 2021-08-02 17:43:08 +08:00
83181c6bcb planner: steady expression index selection when having duplicate expressions (#25826) 2021-08-02 14:47:06 +08:00
57c3e92ae8 Makefile: enable goimports linters (#26732) 2021-07-30 13:05:04 +08:00
583cdc8f13 executor: trim ( and ) for the outputs of expression (#26687) 2021-07-28 15:20:17 +08:00
57d704bffe planner: fix CTE bug when MergeJoin is used (#25514) 2021-07-27 18:20:16 +08:00
e0dbe7ae8a planner: push TopN down when N is less than a specific variable (#26550) 2021-07-27 16:38:16 +08:00
4a0ead8f03 planner: only build the same CTE once (#26454) 2021-07-27 10:04:16 +08:00
e7d73718aa *: remove sysvars from plugin API (#26449) 2021-07-26 11:28:15 +08:00
57576eb816 expression: fix output name for hidden column (#26354) 2021-07-20 14:55:34 +08:00
8e5dd485e7 planner: fix stat for CTE (#26279) 2021-07-19 19:09:34 +08:00
5ec3b34f2d go.mod: update client-go to the new version (#26256) 2021-07-15 15:19:32 +08:00
b6e8d6ccc3 cmd/ddltest: accelerate test speed (#26114) 2021-07-15 10:05:33 +08:00
b97d232e59 planner: refine collectGenerateColumn (#26057) 2021-07-08 17:53:29 +08:00
14adc46253 planner: support aggregation for expression index (#26014) 2021-07-07 17:35:30 +08:00
0a1875e883 parser,planner: fix the compatiblity of explain_format (#25978) 2021-07-07 15:47: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
6d032c58ac *: Test cleanup (#25581) 2021-06-23 01:31:22 +08:00
bca2f7250f logutil: InitLogger as a more abstract method, deprecated InitZapLogger (#25381) 2021-06-15 10:54:37 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
89394e4724 *: fix binding doesn't work for CTE (#25308) 2021-06-10 17:00:30 +08:00
11716e7f4a *: use full sampling as default analyze (#25132) 2021-06-06 00:34:27 +08:00
b07942836f planner: fix a panic caused by sinking a Limit with inlined Proj into IndexLookUp when accessing a partition table (#25063) 2021-06-04 13:54:27 +08:00
50b6da0f89 executor: add limit implementation for CTEExec (#24870) 2021-06-03 16:26:27 +08:00