Skip to content

Commit b493740

Browse files
author
AWS
committed
Amazon S3 Tables Update: S3 Tables now supports sort and z-order compaction strategies for Iceberg tables in addition to binpack.
1 parent d77cb8b commit b493740

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon S3 Tables",
4+
"contributor": "",
5+
"description": "S3 Tables now supports sort and z-order compaction strategies for Iceberg tables in addition to binpack."
6+
}

services/s3tables/src/main/resources/codegen-resources/service-2.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@
337337
{"shape":"ConflictException"},
338338
{"shape":"BadRequestException"}
339339
],
340-
"documentation":"<p>Gets details about the maintenance configuration of a table. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-maintenance.html\">S3 Tables maintenance</a> in the <i>Amazon Simple Storage Service User Guide</i>.</p> <dl> <dt>Permissions</dt> <dd> <p>You must have the <code>s3tables:GetTableMaintenanceConfiguration</code> permission to use this operation. </p> </dd> </dl>"
340+
"documentation":"<p>Gets details about the maintenance configuration of a table. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-maintenance.html\">S3 Tables maintenance</a> in the <i>Amazon Simple Storage Service User Guide</i>.</p> <dl> <dt>Permissions</dt> <dd> <ul> <li> <p>You must have the <code>s3tables:GetTableMaintenanceConfiguration</code> permission to use this operation. </p> </li> <li> <p>You must have the <code>s3tables:GetTableData</code> permission to use set the compaction strategy to <code>sort</code> or <code>zorder</code>.</p> </li> </ul> </dd> </dl>"
341341
},
342342
"GetTableMaintenanceJobStatus":{
343343
"name":"GetTableMaintenanceJobStatus",
@@ -1413,10 +1413,23 @@
14131413
"targetFileSizeMB":{
14141414
"shape":"PositiveInteger",
14151415
"documentation":"<p>The target file size for the table in MB.</p>"
1416+
},
1417+
"strategy":{
1418+
"shape":"IcebergCompactionStrategy",
1419+
"documentation":"<p>The compaction strategy to use for the table. This determines how files are selected and combined during compaction operations.</p>"
14161420
}
14171421
},
14181422
"documentation":"<p>Contains details about the compaction settings for an Iceberg table.</p>"
14191423
},
1424+
"IcebergCompactionStrategy":{
1425+
"type":"string",
1426+
"enum":[
1427+
"auto",
1428+
"binpack",
1429+
"sort",
1430+
"z-order"
1431+
]
1432+
},
14201433
"IcebergMetadata":{
14211434
"type":"structure",
14221435
"required":["schema"],

0 commit comments

Comments
 (0)