Skip to content

Conversation

alastori
Copy link
Collaborator

@alastori alastori commented Mar 17, 2025

What is changed, added or deleted? (Required)

Added a new restriction to the IMPORT INTO documentation specifying that the target table must be entirely empty for import operations, including all partitions.

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.4 (TiDB 8.4 versions)
  • v8.3 (TiDB 8.3 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@ti-chi-bot ti-chi-bot bot added missing-translation-status This PR does not have translation status info. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 17, 2025
@alastori
Copy link
Collaborator Author

cc @OliverS929

@Oreoxmt Oreoxmt self-assigned this Mar 19, 2025
@Oreoxmt Oreoxmt self-requested a review March 19, 2025 06:13
@Oreoxmt Oreoxmt added type/enhancement The issue or PR belongs to an enhancement. translation/doing This PR's assignee is translating this PR. labels Mar 19, 2025
@ti-chi-bot ti-chi-bot bot removed the missing-translation-status This PR does not have translation status info. label Mar 19, 2025
@Oreoxmt
Copy link
Collaborator

Oreoxmt commented Mar 19, 2025

@alastori Please help confirm which TiDB versions does this PR apply to

@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Mar 19, 2025
@OliverS929
Copy link

OliverS929 commented Mar 20, 2025

LGTM

alastori added 2 commits May 2, 2025 19:47
partitions

- Added a new restriction to the IMPORT INTO
documentation specifying that the target table
must be entirely empty for import operations,
including all partitions.
@alastori alastori force-pushed the import-into-add-partitioning-restriction-empty-table branch from bc3af15 to 6e3e406 Compare May 2, 2025 23:49
@alastori
Copy link
Collaborator Author

alastori commented May 2, 2025

@alastori Please help confirm which TiDB versions does this PR apply to

@Oreoxmt This applies to TiDB v7.2.0 and later versions. The IMPORT INTO statement was introduced as an experimental feature in v7.2.0, as mentioned in the release notes.

@Oreoxmt Oreoxmt added needs-cherry-pick-release-7.5 Should cherry pick this PR to release-7.5 branch. needs-cherry-pick-release-8.1 Should cherry pick this PR to release-8.1 branch. needs-cherry-pick-release-8.3 needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. labels May 6, 2025
@Oreoxmt Oreoxmt added translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. and removed translation/doing This PR's assignee is translating this PR. labels May 6, 2025
@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels May 6, 2025
Copy link

ti-chi-bot bot commented May 6, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-03-19 07:25:29.723888654 +0000 UTC m=+426823.408124750: ☑️ agreed by Oreoxmt.
  • 2025-05-06 06:34:54.21886229 +0000 UTC m=+336941.401765546: ☑️ agreed by qiancai.

@Oreoxmt
Copy link
Collaborator

Oreoxmt commented May 6, 2025

/approve

Copy link

ti-chi-bot bot commented May 6, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Oreoxmt

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label May 6, 2025
@ti-chi-bot ti-chi-bot bot merged commit 56f29f4 into pingcap:master May 6, 2025
9 checks passed
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-7.5: #20905.

@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-8.1: #20906.

@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-8.3: #20907.
But this PR has conflicts, please resolve them!

ti-chi-bot pushed a commit to ti-chi-bot/docs that referenced this pull request May 6, 2025
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-8.5: #20908.

@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-8.4: #20909.

breezewish added a commit that referenced this pull request May 8, 2025
…fts-1

* commit 'c3ec7513da16bfb6c84af93213c0006040dbd867':
  ticdc: add [[filter.event-filters]] to the toml example (#20921) (#20925)
  Add tidb index usage limitation for valid stats (#20833) (#20912)
  tidb-cloud: update LOAD DATA INFILE description (#20917) (#20918)
  Update pad attribute where needed (#20823) (#20910)
  Add restriction for IMPORT INTO regarding empty (#20562) (#20908)
  tikv: recorrect the settings of some configs and supplement missing annotations for several configs. (#20871) (#20899)
  planner: add doc for `tidb_ignore_inlist_plan_digest`. (#20870) (#20890)
  JDBC URL: update the letter case for defaultFetchSize (#20884) (#20887)
  fix(pd): add missing configuration items for PD (#20883) (#20894)
  hardware-and-software-requirements: update Kylin Euler to Kylin (#20874) (#20881)
  add FAQs about collation for JDBC connections (#20848) (#20869)
  pd configuration: add dashboard.disable-custom-prom-addr (#20853) (#20857)
  releases: add one br entry to v8.1.2 (#20861) (#20864)
  toc: add TiDB release support policy (#19119) (#20859)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm needs-cherry-pick-release-7.5 Should cherry pick this PR to release-7.5 branch. needs-cherry-pick-release-8.1 Should cherry pick this PR to release-8.1 branch. needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants