Commit Graph

2000 Commits

Author SHA1 Message Date
47e4b5bf31 *: revert #27021 to fix a bug that selection can not be pushed down when having clause above aggregation (#33168)
close pingcap/tidb#33166
2022-03-17 10:43:53 +08:00
e110e73bf7 bindinfo: support disabled status for binding (#32819)
ref pingcap/tidb#32466
2022-03-16 15:45:52 +08:00
383f0bb05e mpp: throw an err when mpp generate empty table scan task list (#33084)
close pingcap/tidb#33083
2022-03-16 15:09:52 +08:00
d981c0e06a sysvar: add INSTANCE scope for system variable (#32888)
ref pingcap/tidb#32887
2022-03-16 11:15:52 +08:00
2ae71323cf sessionctx: make builtinFunctionUsage thread safe (#33032)
close pingcap/tidb#33027
2022-03-16 10:27:52 +08:00
c11e650527 *: make golangci-lint work on Go1.18 (#33081)
close pingcap/tidb#33080
2022-03-15 22:43:52 +08:00
e87bb52a6a bindinfo: refactor some codes in bindinfo package (#33094) 2022-03-15 20:55:23 +08:00
00e96229c1 planner: add more test cases for auto-capture and support to capture more hints (#33051) 2022-03-15 20:01:51 +08:00
caad839aeb planner: fix the wrong range built for bit columns when reusing cached plan (#33090)
close pingcap/tidb#33067
2022-03-15 19:13:52 +08:00
3393cf96a3 *: support mpp partition for tiflash (#31043)
close pingcap/tidb#32347
2022-03-15 18:35:52 +08:00
d79527b256 bindinfo: support 'show binding_cache status' (#32567)
ref pingcap/tidb#32466
2022-03-15 14:27:52 +08:00
678397ba62 planner: ignore close-stmt to make more queries can hit plan cache (#32928) 2022-03-15 14:13:20 +08:00
9e74ce6b85 planner: support tiflash scan in transaction with dirty data (#33049)
ref pingcap/tidb#32829
2022-03-15 13:39:51 +08:00
4c940560c3 planner: only users with SUPER or CONNECTION_ADMIN privilege can kill auto analyze (#33057)
close pingcap/tidb#33058
2022-03-15 11:45:51 +08:00
b83af27cfe planner: add the basic functions of the functional dependency (#33043)
ref pingcap/tidb#29766
2022-03-15 11:29:51 +08:00
094faa4cfe expression: pushdown DayOfMonth and LastDay to tiflash (#33011)
close pingcap/tidb#33012
2022-03-14 22:35:51 +08:00
f0238dd286 planner: fix the wrong cost formula for MPP net cost (#32942)
close pingcap/tidb#30103
2022-03-14 15:39:52 +08:00
62e6fa62c5 planner: add FastIntSet for functional dependency maintaince (#33021)
ref pingcap/tidb#29766
2022-03-14 15:05:51 +08:00
bf3be20d76 planner: add more test cases for auto-capture (#32994)
ref pingcap/tidb#32466
2022-03-14 11:37:51 +08:00
b4c4b83e75 planner/core: fix nil pointer dereference tidb_decode_key() (#33018)
close pingcap/tidb#33015
2022-03-13 02:33:50 +08:00
5170f2f414 topsql: add more test case for topsql (#32410)
close pingcap/tidb#32405
2022-03-11 17:43:51 +08:00
fcf7bd8c88 sysvar: rename sysdate_is_now as tidb_sysdate_is_now (#32957)
close pingcap/tidb#31872
2022-03-11 11:19:50 +08:00
ce68a64a68 planner: add collation test for pushing bit column down (#32983)
ref pingcap/tidb#30738
2022-03-11 11:01:50 +08:00
469bc71b0c parser, planner, executor: remove non-mpp broadcast Join (#31459)
close pingcap/tidb#31465
2022-03-11 00:41:50 +08:00
284b90d2d5 planner: misuse like2regexp and regexp when to query information.schema (#32490)
close pingcap/tidb#32451
2022-03-10 10:57:50 +08:00
e4ced47fa2 planner,executor: fix cached table query with filter condition (#32590)
close pingcap/tidb#32422
2022-03-09 19:37:49 +08:00
b9bd5a7d7e *: add explicit partition pruning to index joins (#32007) (#32093)
close pingcap/tidb#32007
2022-03-09 08:33:48 +08:00
a1d8f2f3ac *: remove ddl dependency (#32910)
ref pingcap/tidb#31716
2022-03-09 08:15:48 +08:00
7bf5e4e23e planner: Columns in string pruning (#32626) (#32721)
close pingcap/tidb#32626
2022-03-08 20:23:48 +08:00
f79d2a5666 *: Provide staleReadProcessor to process stale read (#32699)
close pingcap/tidb#32697
2022-03-08 19:23:49 +08:00
d0e8a53f55 planner: update the structure of the plan cache key (#32665)
ref pingcap/tidb#31056
2022-03-07 18:01:50 +08:00
4be9e30b0a bindinfo: rename Using status to Enabled status (#32801)
ref pingcap/tidb#32466
2022-03-07 17:21:49 +08:00
6dbf2de2f0 explain: use partition name in original case (#32817)
close pingcap/tidb#32719
2022-03-07 14:33:48 +08:00
7cf784cf26 statistics: handle contants in Selectivity() (#32761)
ref pingcap/tidb#32758, close pingcap/tidb#32835
2022-03-06 23:41:48 +08:00
b9ba513eee planner: fix do-statement will error with agg function (#31662)
close pingcap/tidb#31413
2022-03-06 23:27:48 +08:00
b0f823c8e9 planner: not push tiflash if extra phys tbl id is needed (#32830)
close pingcap/tidb#32829
2022-03-05 15:09:47 +08:00
95b05d1632 planner: make queries with the extra column _tidb_rowid can use PointGet (#32705)
close pingcap/tidb#31543
2022-03-04 18:41:47 +08:00
fcdbf826ea planner: Fix the issue that TiDB may dispatch duplicated tasks to TiFlash (#32813)
ref pingcap/tics#4163, close pingcap/tidb#32814
2022-03-04 17:41:47 +08:00
74d74b0a7b session: fix global sysdate_is_now won't work (#32785)
close pingcap/tidb#32784
2022-03-04 11:55:46 +08:00
5464eecba9 expr: add switch to control pushing bit column down (#32795)
* add switch

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>
2022-03-04 10:38:47 +08:00
493eb45c75 *: table partition dynamic prune mode with Physical Table ID from unistore (#31634)
close pingcap/tidb#29851
2022-03-04 01:21:46 +08:00
41c1cc98b0 planner: fix stream agg pushed down to mpp plan unexpectedly (#32752)
close pingcap/tidb#32632
2022-03-03 20:59:46 +08:00
636c8cfe36 planner, explaintest: add imdbload tests for explaintest (#32759)
ref pingcap/tidb#32758
2022-03-03 18:29:46 +08:00
6ba84eef8c expression: fine-grained precision infer for decimal arithmetic operator (#32401)
close pingcap/tidb#30961
2022-03-03 14:33:46 +08:00
bbe2d00684 expr: fix copr-test (#32740)
ref pingcap/tidb#32739
2022-03-02 18:57:46 +08:00
17106ff226 *: remove skipping for data race test (#32736)
ref pingcap/tidb#31716
2022-03-02 15:55:46 +08:00
a3502906ec planner, ddl: convert large varchar for create table in non-strict mode (#31974)
close pingcap/tidb#30328
2022-03-02 13:09:45 +08:00
fbfe36ca7d expression: support push bit column down to TiKV (#32497)
close pingcap/tidb#30738
2022-03-01 17:21:45 +08:00
fccc4bedd0 expr: support push tikv supported functions down (#32553)
ref pingcap/tidb#31846
2022-03-01 15:29:45 +08:00
0c9b0c0ef2 util/testutil: cleanup testutils depend on pingcap/check (#32662)
close pingcap/tidb#32660
2022-02-28 20:01:45 +08:00