Chengpeng Yan

Results 8 issues of Chengpeng Yan

## Enhancement Now, there are less logs for the binding operation. We should add more logs for it. That may help us to trouble shooting easily.

type/enhancement
sig/planner
epic/sql-plan-management

### What issue does this PR solve? - close https://github.com/pingcap/tidb-dev-guide/issues/80 ### What is changed: Add an introduction to cost-based optimization.

## Bug Report Please answer these questions before submitting your issue. Thanks! ### 1. Minimal reproduce step (Required) ``` drop table if exists t3; CREATE TABLE t3(c0 INT, primary key(c0));...

type/bug
sig/planner
severity/major
affects-5.0
affects-5.1
affects-5.2
affects-5.3
affects-5.4
affects-6.1
affects-6.3

…utable effective ### What problem does this PR solve? Issue Number: close https://github.com/pingcap/tidb/issues/37986 Problem Summary: planner: don't push down topN when the expressions in projection is mutable effective ### What...

status/LGT2
sig/planner
status/can-merge
size/M
do-not-merge/hold
release-note-none
needs-cherry-pick-5.3
needs-cherry-pick-5.4
needs-cherry-pick-6.1
needs-cherry-pick-6.3

### What problem does this PR solve? Issue Number: close https://github.com/pingcap/tidb/issues/35623 close https://github.com/pingcap/tidb/issues/37971 Problem Summary: Some conditions shouldn't be pushed down to projection. ### What is changed and how it...

status/LGT2
sig/planner
status/can-merge
size/M
do-not-merge/hold
release-note-none
needs-cherry-pick-6.1

## Enhancement Some queries may be too long and consume too much memory when using the Plan Cache. For example, `in` with large lists. For a single query that consumes...

type/enhancement
epic/plan-cache

Related to https://github.com/duckdb/pg_duckdb/issues/101 This pull request adds more array types. The changes include: 1. Extended Array Type Support: * Added support for additional array types including CHAR, SMALLINT, VARCHAR, TIMESTAMP,...

### What problem does this PR solve? Issue Number: ref https://github.com/pingcap/tidb/issues/29539 Problem Summary: add more test cases for plan cache aware of binding ### What is changed and how it...

type/enhancement
sig/planner
epic/plan-cache
size/L
needs-rebase
release-note-none