Commit Graph

39 Commits

Author SHA1 Message Date
45e85d9bd4 planner: disable plan-cache for plans with IndexMerge accessing Multi-Valued Index (#40646)
ref pingcap/tidb#40191
2023-01-17 15:17:48 +08:00
b912237ac7 planner: support keep_order and no_keep_order hint (#40089)
ref pingcap/tidb#39964
2023-01-09 21:42:22 +08:00
dd0a479b1a planner, parser: add basic preparations for intersection type IndexMerge (#39396)
ref pingcap/tidb#39335
2022-11-25 19:37:59 +08:00
f9c7bbccec *: authentication using tidb_auth_token plugin (#38773)
close pingcap/tidb#38504
2022-11-04 02:54:00 +08:00
da3dab17db *: restrict index range mem usage (#37754)
ref pingcap/tidb#37176
2022-09-22 00:29:02 +08:00
57febedb35 *: enable rowserrcheck for nogo (#37761) 2022-09-13 14:28:58 +08:00
330ed6da32 planner: PhysicalPlan memory trace 1 (#37655)
ref pingcap/tidb#37632
2022-09-08 17:08:56 +08:00
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
911e7cc360 *: enable revive (#35970)
ref pingcap/tidb#35345
2022-07-15 16:03:06 +08:00
16df1942d0 *: add timeout for test cases (#35844) 2022-06-30 20:18:38 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
6b2e37f18c gomod: update dependency for golang1.18 (#33053)
ref pingcap/tidb#32874
2022-03-17 15:10:31 +08:00
c11e650527 *: make golangci-lint work on Go1.18 (#33081)
close pingcap/tidb#33080
2022-03-15 22:43:52 +08:00
469bc71b0c parser, planner, executor: remove non-mpp broadcast Join (#31459)
close pingcap/tidb#31465
2022-03-11 00:41:50 +08:00
6517f3b315 planner,expression,util: scatter hotspot index in certain scenes by expression index (#30659)
close pingcap/tidb#31040
2022-02-18 16:47:40 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
daf525a17e *: replace compareDatum by compare, range part (#30710) 2021-12-16 19:48:36 +08:00
2f42f7c0f6 planner: unify the argument of stats functions to use SessionCtx instead of StatementContext (#30668) 2021-12-14 19:36:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
b8dcc09079 planner: make (*AccessPath).OnlyPointRange more succinct (#30520) 2021-12-13 17:08:35 +08:00
126dbc8d72 planner: consider prefix index column length in skyline pruning (#27527) 2021-11-26 15:45:50 +08:00
d15ca2a869 planner: unify the argument of range functions to use SessionCtx instead of StatementContext (#29999) 2021-11-23 12:35:51 +08:00
bdfd3f6974 *: refine CharsetAndCollation (#29561) 2021-11-12 17:41:05 +08:00
37bfd57dac *: support makezero via golangci-lint (#29267) 2021-11-10 17:05:06 +08:00
5d9eb5b123 planner: fix the wrong access conditions for indexScan (#29558) 2021-11-08 17:51:04 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +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
bc625e9379 planner: add heuristic rules for index selection (#26304) 2021-08-04 20:09:07 +08:00
7f2843803a planner: improve skyline pruning (#26271) 2021-08-02 14:17:06 +08:00
421e87c5f1 planner: improve index merge row count estimation (#19040) 2020-09-27 18:06:36 +08:00
29178dfa8d planner, executor: support broadcast join for tiflash engine. (#17232)
* support batch cop for tiflash

* support batch cop

* support join push down to tiflash

* refine

* change pb

* push join

* fix

* add hint

* refine hint

* add ranges

* fix

* fix

* fix push down

* fix index

* enable distsql for join

* add a session var to disable/enable broadcast join

* fix bug

* fix bug

* tiny fix

* enable cast decimal pushdown to tiflash

* fix

* fix bc join bug

* make broadcast plan stable

* refine code

* fix bug

* basic support for multi table broadcast join

* fix bug

* basic cbo for broadcast join

* improve

* fix bug

* remote useless code

* add tests

* pass unit tests

* refine code

* support execute summary info for broadcast join

* fix bug in explain for broadcast join

* format code

* remove un-needed code

* fix make dev

* address comments

* Hanfei/join merge (#7)

* enable exec details for batch cop

* format code

* fix test

* change tidb_opt_broadcast_join to global vars

* Ban cartesian join to be pushed down to TiFlash (#8)

* merge master (#10)

* merge master

* fix bug

* fix bug

* fix ut

* check session var conflict

* Add perfer local hint for broadcast join (#12)

* update

* remove useless code

* remove useless code

* update parser

* add test for prefer local join

* use bcj_local

* update go.mod

* refine planner

* refine comments

* fix make dev

* fix make dev

* update parser

* address comments

* fix make dev

* disable broadcast join when new collation is enabled

* Update planner/core/exhaust_physical_plans.go

Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com>

* address comments

* fix

* address comments

* fix tests

* address comments

Co-authored-by: xufei <xufeixw@mail.ustc.edu.cn>
Co-authored-by: xufei <xufei@pingcap.com>
Co-authored-by: 虎 <ichneumon.hu@foxmail.com>
Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com>
2020-07-27 12:41:36 +08:00
60dbf2b119 planner: rename table path to IntHandlePath (#17962)
Co-authored-by: lysu <sulifx@gmail.com>
2020-06-15 11:00:20 +08:00
6a49bb4a84 *: fix a bug which causes function return truncated result (#17101) 2020-05-12 12:54:35 +08:00
7ebcc20398 executor: support GROUP_CONCAT(ORDER BY) (#16591) 2020-05-06 18:41:22 +08:00
82529c886c exprssion, planner: fix the uncorrect behavior when finding access conditions (#15888) 2020-04-01 19:08:25 +08:00
11b9beb969 *: resort fields for reducing the memory allocated (#14270) 2020-01-07 19:10:09 +08:00
7b09a11f17 planner,stats: don't re-calculate the index's ranges (#12856) 2019-12-04 17:19:48 +08:00