Add missing information for the customized files importing doc
Open
@ran-huang is already working on this.
Since Jan 9, 2023.
area/tidb-lightning
- Dominant language
- Python
- Stars
- 617
- Forks
- 724
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 223
Description
File: /release-6.1/tidb-lightning/tidb-lightning-data-source.md
Importing customized csv files needs more configuration, such as the pattern of table/schema DDL file name, such as:
`
[[mydumper.files]]
pattern = '^(test1).(tbl1)-schema.sql'
schema = "$1"
table = "$2"
type = "table-schema"
[[mydumper.files]]
pattern = '^(test1)-schema-create.sql'
schema = "$1"
type = "schema-schema"
`
Without the patterns for table/schema DDL file, users will meet a "schema not found" error if the table/schema are not created in advance.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.