Slide 30
Slide 30 text
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS CLI での S3 テーブル作成の流れ (2/2)
32
# テーブル作成
aws s3tables create-table --cli-input-json file://mytabledefinition.json
{ "tableBucketARN": ”",
"namespace": ”",
"name": ”",
"format": "ICEBERG",
"metadata": {
"iceberg": {
"schema": {
"fields": [
{"name": "id", "type": "int","required": true},
{"name": "name", "type": "string"},
{"name": "value", "type": "int"}
]
} } } }
mytabledefinition.json の例
*テーブルの作成は PyIceberg や Spark などからも可能
*パーティション定義など⼀部の DDL は CLI 未対応
テーブル定義