From 87b1215c435f249b92529cfad7a1b7f4de612689 Mon Sep 17 00:00:00 2001 From: yangj1211 Date: Mon, 4 Mar 2024 11:31:50 +0800 Subject: [PATCH 1/2] load data unsupport tar --- .../SQL-Reference/Data-Manipulation-Language/load-data.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/MatrixOne-Cloud/Reference/SQL-Reference/Data-Manipulation-Language/load-data.md b/docs/MatrixOne-Cloud/Reference/SQL-Reference/Data-Manipulation-Language/load-data.md index 7373ab8..000ab4c 100644 --- a/docs/MatrixOne-Cloud/Reference/SQL-Reference/Data-Manipulation-Language/load-data.md +++ b/docs/MatrixOne-Cloud/Reference/SQL-Reference/Data-Manipulation-Language/load-data.md @@ -212,6 +212,9 @@ load data local infile 'file_name' into table tbl_name FIELDS TERMINATED BY '|' 有关导入这两种格式的文档,参见[导入*. csv* 格式数据](../../../App-Develop/import-data/bulk-load/load-csv.md)和[导入 JSONLines 数据](../../../App-Develop/import-data/bulk-load/load-jsonline.md)。 +!!! note + `LOAD DATA` 支持导入压缩文件,但暂不支持导入以 `.tar`或者`.tar.xx`结尾的压缩文件。 + ### *CSV* 格式标准说明 MatrixOne Cloud 加载 *CSV* 格式符合 RFC4180 标准,规定 *CSV* 格式如下: From 2fa5a814e62af0da456bc1e31141ecf4a8236b73 Mon Sep 17 00:00:00 2001 From: yangj1211 Date: Tue, 5 Mar 2024 11:13:17 +0800 Subject: [PATCH 2/2] add compressed format --- .../SQL-Reference/Data-Manipulation-Language/load-data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/MatrixOne-Cloud/Reference/SQL-Reference/Data-Manipulation-Language/load-data.md b/docs/MatrixOne-Cloud/Reference/SQL-Reference/Data-Manipulation-Language/load-data.md index 000ab4c..8732e50 100644 --- a/docs/MatrixOne-Cloud/Reference/SQL-Reference/Data-Manipulation-Language/load-data.md +++ b/docs/MatrixOne-Cloud/Reference/SQL-Reference/Data-Manipulation-Language/load-data.md @@ -213,7 +213,7 @@ load data local infile 'file_name' into table tbl_name FIELDS TERMINATED BY '|' 有关导入这两种格式的文档,参见[导入*. csv* 格式数据](../../../App-Develop/import-data/bulk-load/load-csv.md)和[导入 JSONLines 数据](../../../App-Develop/import-data/bulk-load/load-jsonline.md)。 !!! note - `LOAD DATA` 支持导入压缩文件,但暂不支持导入以 `.tar`或者`.tar.xx`结尾的压缩文件。 + `LOAD DATA` 支持导入压缩文件的类型有`lz4`,`gz`,`bz2`,`zlib`,`flate`,暂不支持导入以 `.tar`或者`.tar.xx`结尾的压缩文件。 ### *CSV* 格式标准说明