Skip to content

Commit

Permalink
lightning: reformat task configuration > mydumper.files
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreoxmt committed Dec 25, 2024
1 parent 950d22b commit c83e48b
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions tidb-lightning/tidb-lightning-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,12 +435,24 @@ backslash-escape = true
# 如果有行以分隔符结尾,删除尾部分隔符。
trim-last-separator = false

# [[mydumper.files]]
# 解析 AWS Aurora parquet 文件所需的表达式
# pattern = '(?i)^(?:[^/]*/)*([a-z0-9_]+)\.([a-z0-9_]+)/(?:[^/]*/)*(?:[a-z0-9\-_.]+\.(parquet))$'
# schema = '$1'
# table = '$2'
# type = '$3'
#### mydumper.files

##### `pattern`

- 解析 AWS Aurora parquet 文件所需的表达式。
- 示例值:`'(?i)^(?:[^/]*/)*([a-z0-9_]+)\.([a-z0-9_]+)/(?:[^/]*/)*(?:[a-z0-9\-_.]+\.(parquet))$'`

##### `schema`

- 示例值:`'$1'`

##### `table`

- 示例值:`'$2'`

##### `type`

- 示例值:`'$3'`

#### tidb

Expand Down

0 comments on commit c83e48b

Please sign in to comment.