Commit Graph

2161 Commits

Author SHA1 Message Date
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
eaa75a81d5 expression: fix incorrect result when the result of casting const value to duration type is null (#55454)
close pingcap/tidb#51842
2024-08-29 14:43:27 +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
aeefe2e814 copr: optimize the balance implement for balanceBatchCopTask (#55408)
close pingcap/tidb#55413
2024-08-29 08:07:00 +00:00
53e5a002dd parser: upgrade golang version to 1.21 (#55738)
close pingcap/tidb#55733
2024-08-29 04:40:18 +00:00
47ca7bec6b infoschema: use ListTablesWithSpecialAttribute instead of SchemaTableInfos (#55686)
* infoschema: use `ListTablesWithSpecialAttribute` instead of `SchemaTableInfos`

* revert

* refactor
2024-08-29 11:28:32 +08:00
f2856e3521 ddl: limit the count of getting ddlhistory jobs (#55590)
close pingcap/tidb#55711
2024-08-28 13:15:17 +00:00
a2c5ff5f43 infoschema: add more tests for infoschema predicate (#55591)
ref pingcap/tidb#50305
2024-08-28 09:21:17 +00:00
74404a41ca infoschema_v2: add ut test Data struct fields' correctness (#55709)
ref pingcap/tidb#50959
2024-08-28 07:21:17 +00:00
ris
51ffa22365 br: redact ak/sk in logging (#55622)
close pingcap/tidb#55273
2024-08-28 04:28:46 +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
94666a27ce infoschema_v2: remove schemaTableInfos for foreign key (#55624)
close pingcap/tidb#55623
2024-08-27 10:12:17 +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
3d42e344f3 ttl: support to split TTL tasks for a table without binary primary key (#55663)
close pingcap/tidb#55660
2024-08-27 05:07:46 +00:00
44f100f80a disttask: fix flaky test TestParallelCancel (#55668)
close pingcap/tidb#55658
2024-08-26 12:46:45 +00:00
d041cd054c test: fix unstable TestParallelErrStage (#55620)
close pingcap/tidb#55594
2024-08-23 15:25:43 +00:00
ae59dfe37e table: specify DupKeyCheckLazy in BenchmarkAddRecordInPipelinedDML (#55597)
ref pingcap/tidb#54397
2024-08-23 09:24:14 +00:00
599977b1d6 *: bump client-go to fix correctness issue of membuffer snapshot read (#55547)
close pingcap/tidb#54929
2024-08-23 08:52:43 +00:00
1bf01f4108 ttl: fix the issue that TTL job may hang some time when shrink the delete worker count (#55572)
close pingcap/tidb#55561
2024-08-23 07:10:43 +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
b02581a7a4 *: fix data race in the EnableAnalyzeSnapshot (#55596)
close pingcap/tidb#55469
2024-08-23 03:01:43 +00:00
e72089d01c statistics: fix a data race in auto-analyze (#55501)
ref pingcap/tidb#53460
2024-08-22 10:43:43 +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
162cb15402 infoschema: supply ut to verify special attributes' correctness (#55573) 2024-08-22 07:33:13 +00:00
48989e726f *: Vector Data types and Functions (#55550)
ref pingcap/tidb#54245
2024-08-22 07:01:51 +00:00
3e6f93d16d pkg/parser/mysql: Also compile for ARM 7 (#55237)
close pingcap/tidb#54247
2024-08-22 07:01:44 +00:00
63b43e1007 util: fix data race in sqlkiller (#55581)
close pingcap/tidb#55467
2024-08-22 06:15:20 +00:00
8080de2812 metrics: fix the wrong read/write metrics for version < 8.1 (#55580)
close pingcap/tidb#55579
2024-08-22 06:15:13 +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
f2c0e7023f ddl: alloc global id together with job id (#55552)
ref pingcap/tidb#54436
2024-08-22 05:15:12 +00:00
2761e91f2e executor: fix data race in hash join v2 (#55525)
close pingcap/tidb#55465
2024-08-22 03:54:14 +00:00
9690dab339 expression: Support 2 argument version of MID() (#55541)
close pingcap/tidb#52420
2024-08-22 02:54:13 +00:00
b257e9bf8d infoschema: set the capacity of sieve to 0 for disabling infoschema v2 (#55531)
close pingcap/tidb#55490
2024-08-21 15:06:12 +00:00
d37cac5a1d ttl: remove useless function in TTL (#55546)
close pingcap/tidb#55545
2024-08-21 13:34:42 +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
a0670b5447 planner: improve the performance of FindFieldName (#55528)
close pingcap/tidb#52112
2024-08-21 09:42:12 +00:00
b2898f4423 executor: show tables should not display local temp tables (#55566)
close pingcap/tidb#55565
2024-08-21 08:58:44 +00:00
ae9e196dae workerpool: add TaskMayPanic interface to remind caller handles panic (#55537)
ref pingcap/tidb#55497
2024-08-21 07:27:12 +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
1ee498eb1b ddl: abstract job submitter & move some fields from ddlCtx to jobContext (#55461)
ref pingcap/tidb#54436
2024-08-21 04:21:12 +00:00
3464dae313 parser: call SetText correctly for CreateViewStmt (#55520)
close pingcap/tidb#55441
2024-08-21 02:39:11 +00:00
1f095a3f47 lighting: expose limited fields for kv.Session (#55517)
ref pingcap/tidb#53388
2024-08-20 14:34:42 +00:00
cbdd12ebd5 show: prefilter table name with like pattern and show full tables (#55396)
close pingcap/tidb#55395
2024-08-20 13:31:42 +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
adc7597a35 *: replace maps.Copy which is for map clone with std maps.Clone (#55530)
close pingcap/tidb#55527
2024-08-20 11:19:49 +00:00
49828bd1c1 infoschema: add WithRefillOption for TableByName and TableByID (#55511)
ref pingcap/tidb#50959
2024-08-20 11:19:42 +00:00