Skip to content

Commit

Permalink
Add some configs in tidb-lightning-configuration.md (#7698)
Browse files Browse the repository at this point in the history
  • Loading branch information
shichun-0415 authored Mar 7, 2022
1 parent 758af31 commit d5437d0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tidb-lightning/tidb-lightning-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,26 @@ backslash-escape = true
# If a line ends with a separator, remove it.
trim-last-separator = false

# [[mydumper.files]]
# Expression used for parsing AWS Aurora parquet files
# pattern = '(?i)^(?:[^/]*/)*([a-z0-9_]+)\.([a-z0-9_]+)/(?:[^/]*/)*(?:[a-z0-9\-_.]+\.(parquet))$'
# schema = '$1'
# table = '$2'
# type = '$3'
#
# Sets rules for merging sharded schemas and tables. Specifically, import `table1` and `table2` from `my_db1`, and `table3` and `table4` from `my_db2` to `table5` in `my_db`.
# [[routes]]
# schema-pattern = "my_db1"
# table-pattern = "table[1-2]"
# target-schema = "my_db"
# target-table = "table5"
#
# [[routes]]
# schema-pattern = "my_db2"
# table-pattern = "table[3-4]"
# target-schema = "my_db"
# target-table = "table5"

[tidb]
# Configuration of any TiDB server from the cluster.
host = "172.16.31.1"
Expand Down

0 comments on commit d5437d0

Please sign in to comment.