IMPORT INTO autodetect file format and wildcards for file path
What is changed, added or deleted? (Required)
- Format detection based on file extensions (.csv, .sql, .parquet) for IMPORT INTO jobs.
- An explicit note is added to clarify that each IMPORT INTO job must target one file format; wildcards that match mixed extensions fail the pre-check and require separate jobs.
- It is explained that compression suffixes (.gz, .zstd, .snappy, …) are ignored when TiDB infers the file format.
- Minor wording clean-ups for consistency.
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)
- [x] 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: https://github.com/pingcap/docs-cn/pull/20496 (partially)
- Other reference link(s): https://github.com/pingcap/tidb/pull/59543
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
@River2000i for technical review.
@River2000i: adding LGTM is restricted to approvers and reviewers in OWNERS files.
In response to this:
LGTM
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
@lilin90: Your lgtm message is repeated, so it is ignored.
In response to this:
/lgtm
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
[LGTM Timeline notifier]
Timeline:
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: lilin90
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [lilin90]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment