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
18 changes: 10 additions & 8 deletions docs/lakehouse/best-practices/doris-aws-s3tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,19 @@ Here we create a Table Bucket named doris-s3-table-bucket. After creation, we wi

### 02 Create Iceberg Catalog

- Create an Iceberg Catalog of type `s3tables`
- Connecting to `s3 tables` using AWS S3 Table Rest Catalog

```sql
CREATE CATALOG iceberg_s3 PROPERTIES (
CREATE CATALOG aws_s3_tables PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 's3tables',
'warehouse' = 'arn:aws:s3tables:<region>:<acount_id>:bucket/<s3_table_bucket_name>',
's3.region' = '<region>',
's3.endpoint' = 's3.<region>.amazonaws.com',
's3.access_key' = '<ak>',
's3.secret_key' = '<sk>'
'iceberg.catalog.type' = 'rest',
'warehouse' = 'arn:aws:s3tables:us-east-1:<account_id>:bucket/<s3_table_bucket_name>',
'iceberg.rest.uri' = 'https://s3tables.us-east-1.amazonaws.com/iceberg',
'iceberg.rest.sigv4-enabled' = 'true',
'iceberg.rest.signing-name' = 's3tables',
'iceberg.rest.signing-region' = 'us-east-1',
'iceberg.rest.access-key-id' = '<ak>',
'iceberg.rest.secret-access-key' = '<sk>'
);
```

Expand Down
32 changes: 24 additions & 8 deletions docs/lakehouse/catalogs/iceberg-catalog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1210,17 +1210,19 @@ This is an experimental feature, supported since version 4.1.0.
<details>
<summary>3.1+ Version</summary>
<Tabs>
<TabItem value='FileSystem Catalog' label='FileSystem Catalog' default>
<TabItem value='S3 Tables Rest Catalog' label='S3 Tables Rest Catalog' default>
Please refer to the [S3 Tables Integration](../best-practices/doris-aws-s3tables.md) documentation.
```sql
CREATE CATALOG test_s3tables_write_insert PROPERTIES (
CREATE CATALOG aws_s3_tables PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 's3tables',
'warehouse' = 'arn:aws:s3tables:ap-east-1:12345:bucket/doris-s3-table-bucket',
's3.region' = 'ap-east-1',
's3.endpoint' = 'https://s3.ap-east-1.amazonaws.com',
's3.access_key' = '<ak>',
's3.secret_key' = '<sk>'
'iceberg.catalog.type' = 'rest',
'warehouse' = 'arn:aws:s3tables:us-east-1:<account_id>:bucket/<s3_table_bucket_name>',
'iceberg.rest.uri' = 'https://s3tables.us-east-1.amazonaws.com/iceberg',
'iceberg.rest.sigv4-enabled' = 'true',
'iceberg.rest.signing-name' = 's3tables',
'iceberg.rest.signing-region' = 'us-east-1',
'iceberg.rest.access-key-id' = '<ak>',
'iceberg.rest.secret-access-key' = '<sk>'
);
```
</TabItem>
Expand All @@ -1240,6 +1242,20 @@ This is an experimental feature, supported since version 4.1.0.
);
```
</TabItem>
<TabItem value='FileSystem Catalog' label='FileSystem Catalog' default>
Please refer to the [S3 Tables Integration](../best-practices/doris-aws-s3tables.md) documentation.
```sql
CREATE CATALOG test_s3tables_write_insert PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 's3tables',
'warehouse' = 'arn:aws:s3tables:ap-east-1:12345:bucket/doris-s3-table-bucket',
's3.region' = 'ap-east-1',
's3.endpoint' = 'https://s3.ap-east-1.amazonaws.com',
's3.access_key' = '<ak>',
's3.secret_key' = '<sk>'
);
```
</TabItem>
</Tabs>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,19 @@ S3 Table Bucket 是 S3 推出的第三种 Bucket 类型,和之前的 General p

### 02 创建 Iceberg Catalog

- 创建一个 `s3tables` 类型的 Iceberg Catalog
- 通过 AWS S3 Table Rest Catalog 连接 `s3 tables`

```sql
CREATE CATALOG iceberg_s3 PROPERTIES (
CREATE CATALOG aws_s3_tables PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 's3tables',
'warehouse' = 'arn:aws:s3tables:<region>:<acount_id>:bucket/<s3_table_bucket_name>',
's3.region' = '<region>',
's3.endpoint' = 's3.<region>.amazonaws.com',
's3.access_key' = '<ak>',
's3.secret_key' = '<sk>'
'iceberg.catalog.type' = 'rest',
'warehouse' = 'arn:aws:s3tables:us-east-1:<account_id>:bucket/<s3_table_bucket_name>',
'iceberg.rest.uri' = 'https://s3tables.us-east-1.amazonaws.com/iceberg',
'iceberg.rest.sigv4-enabled' = 'true',
'iceberg.rest.signing-name' = 's3tables',
'iceberg.rest.signing-region' = 'us-east-1',
'iceberg.rest.access-key-id' = '<ak>',
'iceberg.rest.secret-access-key' = '<sk>'
);
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1225,17 +1225,19 @@ Iceberg 的元数层级关系是 Catalog -> Namespace -> Table。其中 Namespac
<details>
<summary>3.1+ 版本 </summary>
<Tabs>
<TabItem value='FileSystem Catalog' label='FileSystem Catalog' default>
<TabItem value='S3 Tables Rest Catalog' label='S3 Tables Rest Catalog' default>
可参阅 [集成 S3 Tables](../best-practices/doris-aws-s3tables.md) 文档。
```sql
CREATE CATALOG test_s3tables_write_insert PROPERTIES (
CREATE CATALOG aws_s3_tables PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 's3tables',
'warehouse' = 'arn:aws:s3tables:ap-east-1:12345:bucket/doris-s3-table-bucket',
's3.region' = 'ap-east-1',
's3.endpoint' = 'https://s3.ap-east-1.amazonaws.com',
's3.access_key' = '<ak>',
's3.secret_key' = '<sk>'
'iceberg.catalog.type' = 'rest',
'warehouse' = 'arn:aws:s3tables:us-east-1:<account_id>:bucket/<s3_table_bucket_name>',
'iceberg.rest.uri' = 'https://s3tables.us-east-1.amazonaws.com/iceberg',
'iceberg.rest.sigv4-enabled' = 'true',
'iceberg.rest.signing-name' = 's3tables',
'iceberg.rest.signing-region' = 'us-east-1',
'iceberg.rest.access-key-id' = '<ak>',
'iceberg.rest.secret-access-key' = '<sk>'
);
```
</TabItem>
Expand All @@ -1255,6 +1257,21 @@ Iceberg 的元数层级关系是 Catalog -> Namespace -> Table。其中 Namespac
);
```
</TabItem>
<TabItem value='FileSystem Catalog' label='FileSystem Catalog' default>
可参阅 [集成 S3 Tables](../best-practices/doris-aws-s3tables.md) 文档。
```sql
CREATE CATALOG test_s3tables_write_insert PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 's3tables',
'warehouse' = 'arn:aws:s3tables:ap-east-1:12345:bucket/doris-s3-table-bucket',
's3.region' = 'ap-east-1',
's3.endpoint' = 'https://s3.ap-east-1.amazonaws.com',
's3.access_key' = '<ak>',
's3.secret_key' = '<sk>'
);
```
</TabItem>

</Tabs>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,19 @@ S3 Table Bucket 是 S3 推出的第三种 Bucket 类型,和之前的 General p

### 02 创建 Iceberg Catalog

- 创建一个 `s3tables` 类型的 Iceberg Catalog
- 通过 AWS S3 Table Rest Catalog 连接 `s3 tables`

```sql
CREATE CATALOG iceberg_s3 PROPERTIES (
CREATE CATALOG aws_s3_tables PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 's3tables',
'warehouse' = 'arn:aws:s3tables:<region>:<acount_id>:bucket/<s3_table_bucket_name>',
's3.region' = '<region>',
's3.endpoint' = 's3.<region>.amazonaws.com',
's3.access_key' = '<ak>',
's3.secret_key' = '<sk>'
'iceberg.catalog.type' = 'rest',
'warehouse' = 'arn:aws:s3tables:us-east-1:<account_id>:bucket/<s3_table_bucket_name>',
'iceberg.rest.uri' = 'https://s3tables.us-east-1.amazonaws.com/iceberg',
'iceberg.rest.sigv4-enabled' = 'true',
'iceberg.rest.signing-name' = 's3tables',
'iceberg.rest.signing-region' = 'us-east-1',
'iceberg.rest.access-key-id' = '<ak>',
'iceberg.rest.secret-access-key' = '<sk>'
);
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1225,17 +1225,19 @@ Iceberg 的元数层级关系是 Catalog -> Namespace -> Table。其中 Namespac
<details>
<summary>3.1+ 版本 </summary>
<Tabs>
<TabItem value='FileSystem Catalog' label='FileSystem Catalog' default>
<TabItem value='S3 Tables Rest Catalog' label='S3 Tables Rest Catalog' default>
可参阅 [集成 S3 Tables](../best-practices/doris-aws-s3tables.md) 文档。
```sql
CREATE CATALOG test_s3tables_write_insert PROPERTIES (
CREATE CATALOG aws_s3_tables PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 's3tables',
'warehouse' = 'arn:aws:s3tables:ap-east-1:12345:bucket/doris-s3-table-bucket',
's3.region' = 'ap-east-1',
's3.endpoint' = 'https://s3.ap-east-1.amazonaws.com',
's3.access_key' = '<ak>',
's3.secret_key' = '<sk>'
'iceberg.catalog.type' = 'rest',
'warehouse' = 'arn:aws:s3tables:us-east-1:<account_id>:bucket/<s3_table_bucket_name>',
'iceberg.rest.uri' = 'https://s3tables.us-east-1.amazonaws.com/iceberg',
'iceberg.rest.sigv4-enabled' = 'true',
'iceberg.rest.signing-name' = 's3tables',
'iceberg.rest.signing-region' = 'us-east-1',
'iceberg.rest.access-key-id' = '<ak>',
'iceberg.rest.secret-access-key' = '<sk>'
);
```
</TabItem>
Expand All @@ -1255,6 +1257,21 @@ Iceberg 的元数层级关系是 Catalog -> Namespace -> Table。其中 Namespac
);
```
</TabItem>
<TabItem value='FileSystem Catalog' label='FileSystem Catalog' default>
可参阅 [集成 S3 Tables](../best-practices/doris-aws-s3tables.md) 文档。
```sql
CREATE CATALOG test_s3tables_write_insert PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 's3tables',
'warehouse' = 'arn:aws:s3tables:ap-east-1:12345:bucket/doris-s3-table-bucket',
's3.region' = 'ap-east-1',
's3.endpoint' = 'https://s3.ap-east-1.amazonaws.com',
's3.access_key' = '<ak>',
's3.secret_key' = '<sk>'
);
```
</TabItem>

</Tabs>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,19 @@ S3 Table Bucket 是 S3 推出的第三种 Bucket 类型,和之前的 General p

### 02 创建 Iceberg Catalog

- 创建一个 `s3tables` 类型的 Iceberg Catalog
- 通过 AWS S3 Table Rest Catalog 连接 `s3 tables`

```sql
CREATE CATALOG iceberg_s3 PROPERTIES (
CREATE CATALOG aws_s3_tables PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 's3tables',
'warehouse' = 'arn:aws:s3tables:<region>:<acount_id>:bucket/<s3_table_bucket_name>',
's3.region' = '<region>',
's3.endpoint' = 's3.<region>.amazonaws.com',
's3.access_key' = '<ak>',
's3.secret_key' = '<sk>'
'iceberg.catalog.type' = 'rest',
'warehouse' = 'arn:aws:s3tables:us-east-1:<account_id>:bucket/<s3_table_bucket_name>',
'iceberg.rest.uri' = 'https://s3tables.us-east-1.amazonaws.com/iceberg',
'iceberg.rest.sigv4-enabled' = 'true',
'iceberg.rest.signing-name' = 's3tables',
'iceberg.rest.signing-region' = 'us-east-1',
'iceberg.rest.access-key-id' = '<ak>',
'iceberg.rest.secret-access-key' = '<sk>'
);
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1225,17 +1225,19 @@ Iceberg 的元数层级关系是 Catalog -> Namespace -> Table。其中 Namespac
<details>
<summary>3.1+ 版本 </summary>
<Tabs>
<TabItem value='FileSystem Catalog' label='FileSystem Catalog' default>
<TabItem value='S3 Tables Rest Catalog' label='S3 Tables Rest Catalog' default>
可参阅 [集成 S3 Tables](../best-practices/doris-aws-s3tables.md) 文档。
```sql
CREATE CATALOG test_s3tables_write_insert PROPERTIES (
CREATE CATALOG aws_s3_tables PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 's3tables',
'warehouse' = 'arn:aws:s3tables:ap-east-1:12345:bucket/doris-s3-table-bucket',
's3.region' = 'ap-east-1',
's3.endpoint' = 'https://s3.ap-east-1.amazonaws.com',
's3.access_key' = '<ak>',
's3.secret_key' = '<sk>'
'iceberg.catalog.type' = 'rest',
'warehouse' = 'arn:aws:s3tables:us-east-1:<account_id>:bucket/<s3_table_bucket_name>',
'iceberg.rest.uri' = 'https://s3tables.us-east-1.amazonaws.com/iceberg',
'iceberg.rest.sigv4-enabled' = 'true',
'iceberg.rest.signing-name' = 's3tables',
'iceberg.rest.signing-region' = 'us-east-1',
'iceberg.rest.access-key-id' = '<ak>',
'iceberg.rest.secret-access-key' = '<sk>'
);
```
</TabItem>
Expand All @@ -1255,6 +1257,21 @@ Iceberg 的元数层级关系是 Catalog -> Namespace -> Table。其中 Namespac
);
```
</TabItem>
<TabItem value='FileSystem Catalog' label='FileSystem Catalog' default>
可参阅 [集成 S3 Tables](../best-practices/doris-aws-s3tables.md) 文档。
```sql
CREATE CATALOG test_s3tables_write_insert PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 's3tables',
'warehouse' = 'arn:aws:s3tables:ap-east-1:12345:bucket/doris-s3-table-bucket',
's3.region' = 'ap-east-1',
's3.endpoint' = 'https://s3.ap-east-1.amazonaws.com',
's3.access_key' = '<ak>',
's3.secret_key' = '<sk>'
);
```
</TabItem>

</Tabs>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,19 @@ Here we create a Table Bucket named doris-s3-table-bucket. After creation, we wi

### 02 Create Iceberg Catalog

- Create an Iceberg Catalog of type `s3tables`
- Connecting to `s3 tables` using AWS S3 Table Rest Catalog

```sql
CREATE CATALOG iceberg_s3 PROPERTIES (
CREATE CATALOG aws_s3_tables PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 's3tables',
'warehouse' = 'arn:aws:s3tables:<region>:<acount_id>:bucket/<s3_table_bucket_name>',
's3.region' = '<region>',
's3.endpoint' = 's3.<region>.amazonaws.com',
's3.access_key' = '<ak>',
's3.secret_key' = '<sk>'
'iceberg.catalog.type' = 'rest',
'warehouse' = 'arn:aws:s3tables:us-east-1:<account_id>:bucket/<s3_table_bucket_name>',
'iceberg.rest.uri' = 'https://s3tables.us-east-1.amazonaws.com/iceberg',
'iceberg.rest.sigv4-enabled' = 'true',
'iceberg.rest.signing-name' = 's3tables',
'iceberg.rest.signing-region' = 'us-east-1',
'iceberg.rest.access-key-id' = '<ak>',
'iceberg.rest.secret-access-key' = '<sk>'
);
```

Expand Down
32 changes: 24 additions & 8 deletions versioned_docs/version-3.x/lakehouse/catalogs/iceberg-catalog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1210,17 +1210,19 @@ This is an experimental feature, supported since version 4.1.0.
<details>
<summary>3.1+ Version</summary>
<Tabs>
<TabItem value='FileSystem Catalog' label='FileSystem Catalog' default>
<TabItem value='S3 Tables Rest Catalog' label='S3 Tables Rest Catalog' default>
Please refer to the [S3 Tables Integration](../best-practices/doris-aws-s3tables.md) documentation.
```sql
CREATE CATALOG test_s3tables_write_insert PROPERTIES (
CREATE CATALOG aws_s3_tables PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 's3tables',
'warehouse' = 'arn:aws:s3tables:ap-east-1:12345:bucket/doris-s3-table-bucket',
's3.region' = 'ap-east-1',
's3.endpoint' = 'https://s3.ap-east-1.amazonaws.com',
's3.access_key' = '<ak>',
's3.secret_key' = '<sk>'
'iceberg.catalog.type' = 'rest',
'warehouse' = 'arn:aws:s3tables:us-east-1:<account_id>:bucket/<s3_table_bucket_name>',
'iceberg.rest.uri' = 'https://s3tables.us-east-1.amazonaws.com/iceberg',
'iceberg.rest.sigv4-enabled' = 'true',
'iceberg.rest.signing-name' = 's3tables',
'iceberg.rest.signing-region' = 'us-east-1',
'iceberg.rest.access-key-id' = '<ak>',
'iceberg.rest.secret-access-key' = '<sk>'
);
```
</TabItem>
Expand All @@ -1240,6 +1242,20 @@ This is an experimental feature, supported since version 4.1.0.
);
```
</TabItem>
<TabItem value='FileSystem Catalog' label='FileSystem Catalog' default>
Please refer to the [S3 Tables Integration](../best-practices/doris-aws-s3tables.md) documentation.
```sql
CREATE CATALOG test_s3tables_write_insert PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 's3tables',
'warehouse' = 'arn:aws:s3tables:ap-east-1:12345:bucket/doris-s3-table-bucket',
's3.region' = 'ap-east-1',
's3.endpoint' = 'https://s3.ap-east-1.amazonaws.com',
's3.access_key' = '<ak>',
's3.secret_key' = '<sk>'
);
```
</TabItem>
</Tabs>


Expand Down
Loading