Commit Graph

618 Commits

Author SHA1 Message Date
76098f5e16 importinto: check column assignment expressions in import into ... (#55968)
close pingcap/tidb#55497
2024-09-10 17:40:45 +00:00
tpp
d2656d2e9d planner: preference range scan for pseudo (#55633)
close pingcap/tidb#55632
2024-09-10 16:56:26 +00:00
e5aad0260c *: apply prefiltering before json.Unmarshal for information_schema.ddl_jobs table (#55748)
ref pingcap/tidb#55725
2024-09-10 12:03:47 +00:00
e0864c6cf1 expression: let cast function supports explicit set charset (#55724)
close pingcap/tidb#55677
2024-09-10 10:25:23 +00:00
822bf99e78 planner: support new syntax for Index Advisor (#55947)
ref pingcap/tidb#12303
2024-09-10 01:01:45 +00:00
4ab1765ac9 planner: introduce hashEquals interface for expression.Expression (#55793)
ref pingcap/tidb#51664
2024-09-09 10:40:45 +00:00
b5ec2e33a3 *: update rules_go 0.50.1 (#55933) 2024-09-09 09:48:31 +00:00
7d75f23fed expression: Add GetUserVarsReader to EvalContext (#55866)
close pingcap/tidb#55865
2024-09-09 09:48:24 +00:00
95527cd700 statistics: use analysis worker to run analysis jobs (#55848)
close pingcap/tidb#55618
2024-09-09 03:04:27 +00:00
5dae1a3135 expression: support tidb encode key function (#51678)
close pingcap/tidb#51683
2024-09-06 07:03:37 +00:00
c011164834 planner: fix incorrect maintenance of handleColHelper for recursive CTE (#55732)
close pingcap/tidb#55666
2024-09-06 04:31:49 +00:00
e9124ddd3f planner: move index advisor into the kernel (#55874)
ref pingcap/tidb#12303
2024-09-05 13:38:16 +00:00
edf100118d executor: record index usage for the clustered primary keys (#55602)
close pingcap/tidb#55601
2024-09-05 05:12:57 +00:00
e1e9e16e01 planner: add more test cases for instance plan cache (#55850)
ref pingcap/tidb#54057
2024-09-04 14:03:57 +00:00
b91cb01917 core: fix missing update on nested generated column (#55829)
close pingcap/tidb#53967
2024-09-04 11:23:09 +00:00
e00454a7b9 planner: move index advisor into the kernel (#55820)
ref pingcap/tidb#12303
2024-09-04 10:32:16 +00:00
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
2bd566026a planner: remove old useless unfinished index advisor implementation (#55810)
ref pingcap/tidb#12303
2024-09-04 01:44:52 +00:00
dd180de7ae infoschema: optimize 'select count(*) from information_schema.tables' for v2 (#55574)
close pingcap/tidb#55515
2024-09-03 08:25:00 +00:00
a5698cc4cf *: fix typo interger -> integer (#55782) 2024-09-02 11:14:07 +00:00
df02db014a context: add tests to avoid making mistakes by adding new fields but not modifying IntoStatic. (#55311)
close pingcap/tidb#55130
2024-09-02 09:20:48 +00:00
dd114f107b planner: introduce hashEquals for expression.Column/collationInfo/fieldType (#55691)
ref pingcap/tidb#51664
2024-09-02 07:13:40 +00:00
dd64d25266 lightining,expression: support user variable for BuildSimpleExpr and remove PlanContext dependency in lightning context (#55617)
ref pingcap/tidb#53388
2024-09-02 04:55:18 +00:00
81cc3455c7 importinto: return error for reading user variables and using some functions (#55744)
ref pingcap/tidb#55497
2024-08-30 04:12:01 +00:00
4c23efb10b *: move annotated attributes of AST node to resolve.Context (#55634)
ref pingcap/tidb#54436
2024-08-29 13:39:01 +00:00
d1a966dc74 test: split test case to avoid slow test (#55751)
close pingcap/tidb#55750
2024-08-29 11:06:28 +00:00
fa533f8251 importinto: explicitly return error for SET subquery (#55495)
ref pingcap/tidb#55497
2024-08-29 10:10:45 +00:00
f5fff6cff9 planner: introduce hashEqual interface for datum. (#55727)
ref pingcap/tidb#51664
2024-08-29 09:11:21 +00:00
a2c5ff5f43 infoschema: add more tests for infoschema predicate (#55591)
ref pingcap/tidb#50305
2024-08-28 09:21:17 +00:00
87244edabf statistics: fix sync load fails after disabling lite init stats (#54531)
close pingcap/tidb#54532
2024-08-27 13:21:16 +00:00
4f85a3599a planner: integrate hashEqual interface into LogicalPlan and expression.Expression. (#55652)
ref pingcap/tidb#51664
2024-08-27 08:19:48 +00:00
ebbe53c98b planner: add canonical hasher to take in primitive type directly for hashing. (#55570)
ref pingcap/tidb#51664
2024-08-23 04:27:12 +00:00
d2b20bd898 planner: remove unnecessary pointer receiver function of datasource. (#55556)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-22 08:28:43 +00:00
48989e726f *: Vector Data types and Functions (#55550)
ref pingcap/tidb#54245
2024-08-22 07:01:51 +00:00
d04ec9d914 planner: fix CTE hang or wrong result when multiple Apply is used (#55553)
close pingcap/tidb#55551
2024-08-22 05:15:19 +00:00
38f9d702ff planner: use logical cores as default fine grained stream count (#55544)
close pingcap/tidb#55543
2024-08-21 09:42:19 +00:00
99180a85dc planner: refactor infoschema predicate extractors (#55502)
ref pingcap/tidb#50305
2024-08-21 05:55:42 +00:00
0b6e2e68a4 planner: move logical cte into logicalop pkg (#55496)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-21 05:12:12 +00:00
tpp
f2c278ddc6 Planner: Do not allow cardinality to go below 1 (#55242)
close pingcap/tidb#47400
2024-08-20 12:00:12 +00:00
49828bd1c1 infoschema: add WithRefillOption for TableByName and TableByID (#55511)
ref pingcap/tidb#50959
2024-08-20 11:19:42 +00:00
559f634f63 planner/core: pushdown TiFlash store type check to ColumnToProto (#55463)
close pingcap/tidb#55462
2024-08-19 14:01:42 +00:00
509d1bd93b expression: expression.BuildSimpleExpr supports to build ParamMarker (#55493)
close pingcap/tidb#55492
2024-08-19 11:09:11 +00:00
db54a3bb27 *: fix cannot get column info from generate column (#55447)
close pingcap/tidb#55438
2024-08-19 07:04:41 +00:00
7342d1da6d planner: simplify datasource's pointer receiver member function. (#55474)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-19 05:15:11 +00:00
061d865ba1 planner: move logical expand into logicalop pkg. (#55428)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-19 04:42:11 +00:00
9e9e9c2f37 planner: export elements in cteClass for late pkg move. (#55429)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-19 04:09:11 +00:00
336d3a30f1 ranger: should replace ast.Or with ast.LogicalOr (#55476)
close pingcap/tidb#55475
2024-08-16 11:38:47 +00:00
02526988cb *: upgrade linter revive (#55346) 2024-08-16 07:58:11 +00:00
881eedd00e *: add extractor for cluster_tidb_index_usage (#55416)
ref pingcap/tidb#50305
2024-08-15 12:01:11 +00:00
c74a2330c0 planner: move logical union all to logicalop pkg. (#55402)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-15 05:13:11 +00:00