Commit Graph

564 Commits

Author SHA1 Message Date
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
62b2e5cdd6 statistics: skip impossible values when estimating row count (#32762)
ref pingcap/tidb#32758, close pingcap/tidb#32834
2022-03-10 16:37:50 +08:00
77730b6d9e sessionctx,executor: disallowed set null to sysvar (#32879)
close pingcap/tidb#32850
2022-03-10 01:13:49 +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
c9a7e7d4bc statistics: refactor code structure for histogram buckets and clamping row counts (#32760)
ref pingcap/tidb#32758
2022-03-04 19:07: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
636c8cfe36 planner, explaintest: add imdbload tests for explaintest (#32759)
ref pingcap/tidb#32758
2022-03-03 18:29:46 +08:00
bbe2d00684 expr: fix copr-test (#32740)
ref pingcap/tidb#32739
2022-03-02 18:57:46 +08:00
fccc4bedd0 expr: support push tikv supported functions down (#32553)
ref pingcap/tidb#31846
2022-03-01 15:29:45 +08:00
5988d0b2f4 *: update client-go and etcd version (#32457)
close pingcap/tidb#32456
2022-02-22 11:11:43 +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
2d61131e1c planner: fix the plan when projection under unionScan (#31710)
close pingcap/tidb#31665
2022-02-16 20:55:39 +08:00
954e1e1e82 expression: fix retType of buitin func with JSON (#32301)
close pingcap/tidb#32281
2022-02-15 13:17:38 +08:00
bc267f5856 expression: support push down tikv supported functions (#32193)
ref pingcap/tidb#31846
2022-02-11 12:51:36 +08:00
4e33a0f2eb expression: refine invalid char error msg for string conversion (#32199)
close pingcap/tidb#30444
2022-02-09 19:25:36 +08:00
01fdb6023c expression: fix Coercibility and Collation with json type (#31576)
close pingcap/tidb#31320, close pingcap/tidb#31541
2022-02-09 15:41:36 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
59937273c5 planner: fix projection of generate column for indexLookup task (#31684)
close pingcap/tidb#31682
2022-01-28 16:09:14 +08:00
ec3ae9fc42 *: refine some tests related to the collation (#32000)
ref pingcap/tidb#31625
2022-01-27 11:51:13 +08:00
f2dba0e14e *: migrate some collation tests to explain test (#31993)
ref pingcap/tidb#31625
2022-01-26 19:32:46 +08:00
b2cb2e396b cmd/explaintest: migrate some collation tests (#31988)
ref pingcap/tidb#31625
2022-01-26 17:56:46 +08:00
843935b8bc cmd: fix explain test error checking (#31986)
ref pingcap/tidb#31985
2022-01-26 15:04:45 +08:00
c36ef357d8 table: remove some unused index functions (#31957)
ref pingcap/tidb#30437
2022-01-26 13:34:45 +08:00
203ab22982 *: move the functions that only used in tests (#31929)
ref pingcap/tidb#28720
2022-01-24 22:08:11 +08:00
2fe6e81819 cmd/explaintest: add a flag '-d' to control new collation (#31853)
close pingcap/tidb#31660, close pingcap/tidb#31661
2022-01-24 18:08:10 +08:00
7f442079ac *: Minimize file and directory permissions (#31740)
ref pingcap/tidb#31310
2022-01-22 10:27:46 +08:00
4ae96872ff planner: do not use like to build range when new collation is enabled (#31278)
close pingcap/tidb#31174
2022-01-22 00:09:47 +08:00
e6812f9481 executor: handle collate for min/max(enum/set column) (#31819)
close pingcap/tidb#31638
2022-01-20 19:21:46 +08:00