Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/en/docs/sql-manual/sql-functions/table-functions/s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,16 @@ select * from s3(
"region" = "ap-hongkong",
"format" = "parquet",
"use_path_style" = "false");

// The BOS on Baidu Cloud will use 'virtual-hosted style' compatible with the S3 protocol to access s3.
// BOS
select * from s3(
"uri" = "https://example-bucket.s3.bj.bcebos.com/your-folder/file.parquet",
"s3.access_key"= "ak",
"s3.secret_key" = "sk",
"s3.region" = "bj",
"format" = "parquet",
"use_path_style" = "false");
```

Example of s3://:
Expand Down
10 changes: 10 additions & 0 deletions docs/zh-CN/docs/sql-manual/sql-functions/table-functions/s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,16 @@ select * from s3(
"s3.region" = "ap-hongkong",
"format" = "parquet",
"use_path_style" = "false");

// 百度云bos采用兼容s3协议的virtual-hosted style方式访问s3。
// BOS
select * from s3(
"uri" = "https://example-bucket.s3.bj.bcebos.com/your-folder/file.parquet",
"s3.access_key"= "ak",
"s3.secret_key" = "sk",
"s3.region" = "bj",
"format" = "parquet",
"use_path_style" = "false");
```

s3:// 使用示例:
Expand Down