TiDB v5.1 Documentation
backslash-escape = true trim-last-separator = false Example content: 168 ID,Region,Count 1,"East",32 2,"South",\N 3,"West",10 4,"North",39 5.3.1.5.2 TSV [mydumper.csv] separator = "\t" delimiter = '' header backslash-escape = false trim-last-separator = false Example content: ID Region Count 1 East 32 2 South NULL 3 West 10 4 North 39 5.3.1.5.3 TPC-H DBGEN [mydumper.csv] separator = '|' delimiter = '' not-null = true backslash-escape = false trim-last-separator = true Example content: 1|East|32| 2|South|0| 3|West|10| 4|North|39| 5.3.2 LOAD DATA The LOAD DATA statement batch loads data into a TiDB table0 码力 | 2745 页 | 47.65 MB | 1 年前3TiDB v5.3 Documentation
not-null = false null = '\N' backslash-escape = true Example content: ID,Region,Count 1,"East",32 2,"South",\N 3,"West",10 4,"North",39 5.3.1.5.2 TSV [mydumper.csv] separator = "\t" delimiter = '' header false null = 'NULL' backslash-escape = false Example content: 190 ID Region Count 1 East 32 2 South NULL 3 West 10 4 North 39 5.3.1.5.3 TPC-H DBGEN [mydumper.csv] separator = '|' delimiter = '' terminator = "|\n" header = false not-null = true backslash-escape = false Example content: 1|East|32| 2|South|0| 3|West|10| 4|North|39| 5.3.2 LOAD DATA The LOAD DATA statement batch loads data into a TiDB table0 码力 | 2996 页 | 49.30 MB | 1 年前3TiDB v5.2 Documentation
not-null = false null = '\N' backslash-escape = true Example content: ID,Region,Count 1,"East",32 2,"South",\N 3,"West",10 4,"North",39 5.3.1.5.2 TSV [mydumper.csv] separator = "\t" delimiter = '' header false null = 'NULL' backslash-escape = false Example content: 178 ID Region Count 1 East 32 2 South NULL 3 West 10 4 North 39 5.3.1.5.3 TPC-H DBGEN [mydumper.csv] separator = '|' delimiter = '' terminator = "|\n" header = false not-null = true backslash-escape = false Example content: 1|East|32| 2|South|0| 3|West|10| 4|North|39| 5.3.2 LOAD DATA The LOAD DATA statement batch loads data into a TiDB table0 码力 | 2848 页 | 47.90 MB | 1 年前3TiDB v5.2 中文手册
not-null = false null = '\N' backslash-escape = true 示例内容: ID,Region,Count 1,"East",32 2,"South",\N 3,"West",10 4,"North",39 5.4.1.5.2 TSV 140 [mydumper.csv] separator = "\t" delimiter = not-null = false null = 'NULL' backslash-escape = false 示例内容: ID Region Count 1 East 32 2 South NULL 3 West 10 4 North 39 5.4.1.5.3 TPC-H DBGEN [mydumper.csv] separator = '|' delimiter = '' terminator = "|\n" header = false not-null = true backslash-escape = false 示例内容: 1|East|32| 2|South|0| 3|West|10| 4|North|39| 5.4.2 LOAD DATA LOAD DATA 语句用于将数据批量加载到 TiDB 表中。 5.4.2.1 语法图 LoadDataStmt0 码力 | 2259 页 | 48.16 MB | 1 年前3TiDB v5.1 中文手册
'\N' backslash-escape = true trim-last-separator = false 示例内容: ID,Region,Count 1,"East",32 2,"South",\N 3,"West",10 4,"North",39 5.4.1.5.2 TSV [mydumper.csv] separator = "\t" delimiter = '' header 'NULL' backslash-escape = false trim-last-separator = false 示例内容: ID Region Count 1 East 32 2 South NULL 3 West 10 4 North 39 5.4.1.5.3 TPC-H DBGEN [mydumper.csv] separator = '|' 134 delimiter false not-null = true backslash-escape = false trim-last-separator = true 示例内容: 1|East|32| 2|South|0| 3|West|10| 4|North|39| 5.4.2 LOAD DATA LOAD DATA 语句用于将数据批量加载到 TiDB 表中。 5.4.2.1 语法图 LoadDataStmt0 码力 | 2189 页 | 47.96 MB | 1 年前3TiDB v5.3 中文手册
not-null = false null = '\N' backslash-escape = true 示例内容: ID,Region,Count 1,"East",32 2,"South",\N 3,"West",10 4,"North",39 5.4.1.5.2 TSV 148 [mydumper.csv] separator = "\t" delimiter = not-null = false null = 'NULL' backslash-escape = false 示例内容: ID Region Count 1 East 32 2 South NULL 3 West 10 4 North 39 5.4.1.5.3 TPC-H DBGEN [mydumper.csv] separator = '|' delimiter = '' terminator = "|\n" header = false not-null = true backslash-escape = false 示例内容: 1|East|32| 2|South|0| 3|West|10| 4|North|39| 5.4.2 LOAD DATA LOAD DATA 语句用于将数据批量加载到 TiDB 表中。 5.4.2.1 语法图 LoadDataStmt0 码力 | 2374 页 | 49.52 MB | 1 年前3TiDB v5.4 Documentation
example changes for common formats: TSV: ### Format example ### ID Region Count ### 1 East 32 ### 2 South NULL ### 3 West 10 ### 4 North 39 ### Format configuration 257 [mydumper.csv] separator = "\t" backslash-escape = false trim-last-separator = false TPC-H DBGEN: ### Format example ### 1|East|32| ### 2|South|0| ### 3|West|10| ### 4|North|39| ### Format configuration [mydumper.csv] separator = '|' delimiter not-null = false null = '\N' backslash-escape = true Example content: ID,Region,Count 1,"East",32 2,"South",\N 3,"West",10 4,"North",39 TSV [mydumper.csv] separator = "\t" delimiter = '' header = true not-null0 码力 | 3650 页 | 52.72 MB | 1 年前3TiDB v6.1 Documentation
example changes for common formats: TSV: ### Format example ### ID Region Count ### 1 East 32 ### 2 South NULL ### 3 West 10 ### 4 North 39 695 ### Format configuration [mydumper.csv] separator = "\t" backslash-escape = false trim-last-separator = false TPC-H DBGEN: ### Format example ### 1|East|32| ### 2|South|0| ### 3|West|10| ### 4|North|39| ### Format configuration [mydumper.csv] separator = '|' delimiter false null = '\N' backslash-escape = true Example content: 2047 ID,Region,Count 1,"East",32 2,"South",\N 3,"West",10 4,"North",39 TSV [mydumper.csv] separator = "\t" delimiter = '' header = true not-null0 码力 | 4487 页 | 84.44 MB | 1 年前3TiDB v5.4 中文手册
[mydumper.csv] 格 式定义同样需要做相应修改。常见的格式修改如下: TSV: ### 格式示例 ### ID Region Count ### 1 East 32 ### 2 South NULL ### 3 West 10 ### 4 North 39 ### 格式配置 [mydumper.csv] separator = "\t" delimiter = '' header backslash-escape = false trim-last-separator = false TPC-H DBGEN: ### 格式示例 ### 1|East|32| ### 2|South|0| ### 3|West|10| ### 4|North|39| ### 格式配置 [mydumper.csv] separator = '|' delimiter = '' header not-null = false null = '\N' backslash-escape = true 示例内容: ID,Region,Count 1,"East",32 2,"South",\N 3,"West",10 4,"North",39 TSV [mydumper.csv] separator = "\t" delimiter = '' header = true0 码力 | 2852 页 | 52.59 MB | 1 年前3TiDB v8.5 Documentation
violence can have their cases heard faster. We’re securing commitments and supporting partners in South and Central �→ America to host more refugees and secure their own borders. -------------------- violence can have their cases heard faster. We’re securing commitments and supporting partners in South and Central �→ America to host more refugees and secure their own borders. -------------------- example changes for common formats: TSV: ### Format example ### ID Region Count ### 1 East 32 ### 2 South NULL ### 3 West 10 ### 4 North 39 ### Format configuration [mydumper.csv] separator = "\t" delimiter0 码力 | 6730 页 | 111.36 MB | 9 月前3
共 30 条
- 1
- 2
- 3