Skip to content

Commit

Permalink
[Doc] fix obs in loading from s3-compatible storage (backport #45544) (
Browse files Browse the repository at this point in the history
…#45547)

Co-authored-by: evelyn.zhaojie <[email protected]>
  • Loading branch information
mergify[bot] and evelynzhaojie authored May 13, 2024
1 parent d233c43 commit 43a270a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions docs/en/loading/BrokerLoad.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,12 @@ Use MinIO as an example. You can execute the following statement to load `file1.
```SQL
LOAD LABEL test_db.label7
(
DATA INFILE("obs://bucket_minio/input/file1.csv")
DATA INFILE("s3://bucket_minio/input/file1.csv")
INTO TABLE table1
COLUMNS TERMINATED BY ","
(id, name, score)
,
DATA INFILE("obs://bucket_minio/input/file2.csv")
DATA INFILE("s3://bucket_minio/input/file2.csv")
INTO TABLE table2
COLUMNS TERMINATED BY ","
(id, city)
Expand Down
8 changes: 4 additions & 4 deletions docs/en/loading/cloud_storage_load.md
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ Execute the following statement to load the data of `file1.csv` stored in the `i
```SQL
LOAD LABEL test_db.label_brokerloadtest_401
(
DATA INFILE("obs://bucket_minio/input/file1.csv")
DATA INFILE("s3://bucket_minio/input/file1.csv")
INTO TABLE table1
COLUMNS TERMINATED BY ","
(id, name, score)
Expand Down Expand Up @@ -650,7 +650,7 @@ Execute the following statement to load the data of all data files (`file1.csv`
```SQL
LOAD LABEL test_db.label_brokerloadtest_402
(
DATA INFILE("obs://bucket_minio/input/*")
DATA INFILE("s3://bucket_minio/input/*")
INTO TABLE table1
COLUMNS TERMINATED BY ","
(id, name, score)
Expand Down Expand Up @@ -701,12 +701,12 @@ Execute the following statement to load the data of all data files (`file1.csv`
```SQL
LOAD LABEL test_db.label_brokerloadtest_403
(
DATA INFILE("obs://bucket_minio/input/file1.csv")
DATA INFILE("s3://bucket_minio/input/file1.csv")
INTO TABLE table1
COLUMNS TERMINATED BY ","
(id, name, score)
,
DATA INFILE("obs://bucket_minio/input/file2.csv")
DATA INFILE("s3://bucket_minio/input/file2.csv")
INTO TABLE table2
COLUMNS TERMINATED BY ","
(id, city)
Expand Down
4 changes: 2 additions & 2 deletions docs/zh/loading/BrokerLoad.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,12 @@ WITH BROKER
```SQL
LOAD LABEL test_db.label7
(
DATA INFILE("obs://bucket_minio/input/file1.csv")
DATA INFILE("s3://bucket_minio/input/file1.csv")
INTO TABLE table1
COLUMNS TERMINATED BY ","
(id, name, score)
,
DATA INFILE("obs://bucket_minio/input/file2.csv")
DATA INFILE("s3://bucket_minio/input/file2.csv")
INTO TABLE table2
COLUMNS TERMINATED BY ","
(id, city)
Expand Down
8 changes: 4 additions & 4 deletions docs/zh/loading/cloud_storage_load.md
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ PROPERTIES
```SQL
LOAD LABEL test_db.label_brokerloadtest_701
(
DATA INFILE("obs://bucket_minio/input/file1.csv")
DATA INFILE("s3://bucket_minio/input/file1.csv")
INTO TABLE table1
COLUMNS TERMINATED BY ","
(id, name, score)
Expand Down Expand Up @@ -1145,7 +1145,7 @@ SELECT * FROM table1;
```SQL
LOAD LABEL test_db.label_brokerloadtest_702
(
DATA INFILE("obs://bucket_minio/input/*")
DATA INFILE("s3://bucket_minio/input/*")
INTO TABLE table1
COLUMNS TERMINATED BY ","
(id, name, score)
Expand Down Expand Up @@ -1196,12 +1196,12 @@ SELECT * FROM table1;
```SQL
LOAD LABEL test_db.label_brokerloadtest_703
(
DATA INFILE("obs://bucket_minio/input/file1.csv")
DATA INFILE("s3://bucket_minio/input/file1.csv")
INTO TABLE table1
COLUMNS TERMINATED BY ","
(id, name, score)
,
DATA INFILE("obs://bucket_minio/input/file2.csv")
DATA INFILE("s3://bucket_minio/input/file2.csv")
INTO TABLE table2
COLUMNS TERMINATED BY ","
(id, name, score)
Expand Down

0 comments on commit 43a270a

Please sign in to comment.