github.com/pingcap/br@v5.3.0-alpha.0.20220125034240-ec59c7b6ce30+incompatible/tests/lightning_file_routing/config.toml (about) 1 [lightning] 2 table-concurrency = 1 3 4 [checkpoint] 5 enable = false 6 7 [mydumper] 8 default-file-rules = false 9 10 [[mydumper.files]] 11 pattern = "(?i)^(?:[^/]*/)*([a-z0-9]+)/schema\\.sql$" 12 schema = "$1" 13 type = "schema-schema" 14 15 [[mydumper.files]] 16 pattern = "(?i)^(?:[^/]*/)*([a-z0-9]+)/([a-z0-9]+)-table\\.sql$" 17 schema = "$1" 18 table = "$2" 19 type = "table-schema" 20 21 [[mydumper.files]] 22 pattern = "(?i)^(?:[^/]*/)*([a-z0-9]+)/([a-z0-9]+)-view\\.sql$" 23 schema = "$1" 24 table = "$2" 25 type = "view-schema" 26 27 [[mydumper.files]] 28 path = "ff/test.SQL" 29 schema = "fr" 30 table = "tbl" 31 type = "sql" 32 33 [[mydumper.files]] 34 pattern = "(?i)^(?:[^/]*/)*([^./]+)/([a-z]+)[0-9]*\\.(sql|csv)(?:\\.([0-9]+))?$" 35 schema = "$1" 36 table = "$2" 37 type = "$3" 38 39 [[mydumper.files]] 40 pattern = "(?i)^(?:[^/]*/)*([a-z]+)[0-9]*\\.(sql|csv)(?:\\.([0-9]+))?$" 41 schema = "fr" 42 table = "$1" 43 type = "$2"