Commit Graph

591 Commits

Author SHA1 Message Date
d3483026ed planner: mark the both side operand of NAAJ & refuse partial column substitute in projection elimination of Apply de-correlation (#37117)
close pingcap/tidb#37032
2022-08-24 18:02:21 +08:00
0e4af6cd48 planner: fix outer join reorder will push down its outer join condition (#37245)
close pingcap/tidb#37238
2022-08-23 13:14:20 +08:00
21847fe58b planner: set EnableOuterJoinReorder to false by default (#37264)
ref pingcap/tidb#37238
2022-08-22 19:30:20 +08:00
d6ebc600f8 expression: make collation work with json type (#37211)
close pingcap/tidb#31640
2022-08-19 11:20:52 +08:00
28c934cdae planner: finish todo in builtin_cast.go#L1945 (#36921)
close pingcap/tidb#36920
2022-08-09 16:16:47 +08:00
cfe09709c2 cmd: don't check race when using tikv for explain test (#36513) 2022-08-02 14:26:05 +08:00
5b4a82dbf4 *: upgrade bazel timeout (#36776) 2022-08-02 11:10:05 +08:00
fc217d432c config, sysvar: add config instance.enable_ddl and sysvar tidb_enable_ddl (#35425)
ref pingcap/tidb#34960
2022-08-01 15:02:06 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
f459bb3a86 planner: avoid change the type of the input of sum/avg (#36372)
close pingcap/tidb#36371
2022-07-29 16:21:12 +08:00
9d0f5f72d3 *: enable pessimistic transaction on unistore (#36578) 2022-07-26 21:07:10 +08:00
b75b785b65 *: support bazel for explain test (#36563) 2022-07-26 19:09:10 +08:00
1b848f40e2 planner: just pop cte's handleHelper map out since it shouldn't be considered (#35854)
close pingcap/tidb#35758
2022-07-26 14:19:10 +08:00
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
a52656fde4 *: add binary plan in stmt summary and slow log/query (#35698)
close pingcap/tidb#35889
2022-07-20 18:21:09 +08:00
e50b9430fc *: enable gci (#35823)
ref pingcap/tidb#35345
2022-07-04 14:53:02 +08:00
c578d19c9f parser, ddl: support decoding binary literal in set/enum (#35822)
close pingcap/tidb#31338
2022-06-30 15:36:39 +08:00
9bde478b22 ddl: make output field name in show tables/databases stmt compatible with mysql (#35136)
close pingcap/tidb#35116
2022-06-29 15:48:39 +08:00
11f06e00ce planner: disable collate clause support for enum or set column (#35684)
close pingcap/tidb#31637
2022-06-24 20:32:37 +08:00
d4dc6b54c6 *: enable staticcheck and prealloc on nogo (#35486)
ref pingcap/tidb#35345
2022-06-22 22:00:37 +08:00
49603af359 expression: avoid padding 0 when implicitly cast to binary (#35053)
close pingcap/tidb#34823
2022-06-21 12:22:36 +08:00
580a68dff3 planner: fix cte-schema-clone will clone the old hashcode of its column if any (#35415)
close pingcap/tidb#35404
2022-06-17 16:50:35 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
ae8da6f0bd *: make Row errors be correctly checked (#35188)
close pingcap/tidb#35050
2022-06-07 13:26:30 +08:00
daa1691aa1 planner: revise push agg down across outer join (#34916)
* fix invalid count push down

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

fix explaintest

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

* add testcase

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

* fix test

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

* address the comment

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

* address the comment

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

* add testcase

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

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-05-30 21:15:45 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
847b5e1b69 parser: forbid alter latin1 to utf8mb3 (#34723)
close pingcap/tidb#34720
2022-05-17 17:18:39 +08:00
218247e80e *: improve stack message in the panic log (#34564)
close pingcap/tidb#34356
2022-05-11 16:34:34 +08:00
199eb8e6c1 core: support left join and right join for join reorder (#23149)
close pingcap/tidb#19940
2022-05-10 23:24:35 +08:00
ede6f8cf16 *: Support modify table/column charset from latin1 to utf8/utf8mb4 (#34386)
ref pingcap/tidb#34008
2022-05-10 13:00:35 +08:00
53a3923358 planner: add more rand-gen test cases for the new cost implementation (#34486)
ref pingcap/tidb#33945
2022-05-10 11:16:34 +08:00
2258bc54c4 txn: Add EnterNewTxn and OnStmtStart methods to TxnManager (#34263)
close pingcap/tidb#34390
2022-05-07 21:02:32 +08:00
fa5e19010b planner: preprocessor add CTE recursive check when handleTableName (#34133)
close pingcap/tidb#34090
2022-05-06 15:24:56 +08:00
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
d22cd59da4 planner: refactor the cost implementation for Aggs (#34227) 2022-04-27 20:12:39 +08:00
6da6e5a571 *: fix build tag by run gofix (#34260)
ref pingcap/tidb#31716
2022-04-27 18:02:52 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
20a58199cf *: move config file option mem-quota-query to sysvar (#34141)
ref pingcap/tidb#33769
2022-04-26 03:58:50 +08:00
88c18ea01f util: Adjust the minimum TLS version supported by TiDB tools from 1.0 to 1.2 (#33997)
close pingcap/tidb#33996
2022-04-15 19:46:36 +08:00
f5c2710cd4 planner: fix wrong row-sizes used in cost model (#33845)
close pingcap/tidb#33844
2022-04-13 14:02:36 +08:00
334508e13d planner: fix order by sub-query couldn't find outer correlated columns (#33640)
close pingcap/tidb#26945
2022-04-02 16:26:30 +08:00
37e260ace4 planner: fix CTE predicate pushdown (#33627)
close pingcap/tidb#33622
2022-03-31 17:56:29 +08:00
ca0ade0b24 expr: add function push down results comparing testcase (#33401)
close pingcap/tidb#33391
2022-03-25 11:18:33 +08:00
9f72bcded7 planner: fix "can't find column" when projection wrongly added above index lookup reader after agg pushed down (#33287)
close pingcap/tidb#33237
2022-03-22 18:42:32 +08:00
d5867b1dba cmd/ddltest: make checkDropIndex correct in TestIndex (#33178)
close pingcap/tidb#33176
2022-03-17 15:50:31 +08:00
6b2e37f18c gomod: update dependency for golang1.18 (#33053)
ref pingcap/tidb#32874
2022-03-17 15:10:31 +08:00
af1ea80451 planner: support predicate pushdown for CTE (#33158)
close pingcap/tidb#28163
2022-03-17 14:14:30 +08:00
824f43408f statistics: add a more accurate upper bound to exponential backoff estimation strategy (#32848)
ref pingcap/tidb#22589, ref pingcap/tidb#32758
2022-03-14 17:21:51 +08:00
9fcc6b090b statistics: correctly check if a column histogram is loaded (#32764)
close pingcap/tidb#31925, ref pingcap/tidb#32758, close pingcap/tidb#32833
2022-03-13 15:51:50 +08:00
52fa48ce2b sessionctx,executor: Revert "sessionctx,executor: disallowed set null to sysvar" (#32988)
close pingcap/tidb#32987
2022-03-10 23:13:51 +08:00