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
…#45545)

Co-authored-by: evelyn.zhaojie <[email protected]>
  • Loading branch information
mergify[bot] and evelynzhaojie authored May 13, 2024
1 parent 1b6fa11 commit ba3f997
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 @@ -221,12 +221,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 @@ -605,7 +605,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 @@ -652,7 +652,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 @@ -703,12 +703,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 @@ -309,12 +309,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 @@ -1100,7 +1100,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 @@ -1147,7 +1147,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 @@ -1198,12 +1198,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 ba3f997

Please sign in to comment.