Skip to content

Commit ff22416

Browse files
AWS Glue now supports schema, partition and sort management of Apache Iceberg tables using Glue SDK
1 parent b60f809 commit ff22416

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3202
-19
lines changed

generator/ServiceModels/glue/glue-2017-03-31.api.json

Lines changed: 184 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6615,6 +6615,20 @@
66156615
"CustomPatterns":{"shape":"CustomPatterns"}
66166616
}
66176617
},
6618+
"CreateIcebergTableInput":{
6619+
"type":"structure",
6620+
"required":[
6621+
"Location",
6622+
"Schema"
6623+
],
6624+
"members":{
6625+
"Location":{"shape":"LocationString"},
6626+
"Schema":{"shape":"IcebergSchema"},
6627+
"PartitionSpec":{"shape":"IcebergPartitionSpec"},
6628+
"WriteOrder":{"shape":"IcebergSortOrder"},
6629+
"Properties":{"shape":"StringToStringMap"}
6630+
}
6631+
},
66186632
"CreateIntegrationRequest":{
66196633
"type":"structure",
66206634
"required":[
@@ -6964,6 +6978,7 @@
69646978
"members":{
69656979
"CatalogId":{"shape":"CatalogIdString"},
69666980
"DatabaseName":{"shape":"NameString"},
6981+
"Name":{"shape":"NameString"},
69676982
"TableInput":{"shape":"TableInput"},
69686983
"PartitionIndexes":{"shape":"PartitionIndexList"},
69696984
"TransactionId":{"shape":"TransactionIdString"},
@@ -8712,14 +8727,16 @@
87128727
"type":"structure",
87138728
"members":{
87148729
"Identifier":{"shape":"FederationIdentifier"},
8715-
"ConnectionName":{"shape":"NameString"}
8730+
"ConnectionName":{"shape":"NameString"},
8731+
"ConnectionType":{"shape":"NameString"}
87168732
}
87178733
},
87188734
"FederatedDatabase":{
87198735
"type":"structure",
87208736
"members":{
87218737
"Identifier":{"shape":"FederationIdentifier"},
8722-
"ConnectionName":{"shape":"NameString"}
8738+
"ConnectionName":{"shape":"NameString"},
8739+
"ConnectionType":{"shape":"NameString"}
87238740
}
87248741
},
87258742
"FederatedResourceAlreadyExistsException":{
@@ -8735,7 +8752,8 @@
87358752
"members":{
87368753
"Identifier":{"shape":"FederationIdentifier"},
87378754
"DatabaseIdentifier":{"shape":"FederationIdentifier"},
8738-
"ConnectionName":{"shape":"NameString"}
8755+
"ConnectionName":{"shape":"NameString"},
8756+
"ConnectionType":{"shape":"NameString"}
87398757
}
87408758
},
87418759
"FederationIdentifier":{
@@ -10653,14 +10671,27 @@
1065310671
"JobDurationInHour":{"shape":"dpuDurationInHour"}
1065410672
}
1065510673
},
10674+
"IcebergDocument":{
10675+
"type":"structure",
10676+
"members":{},
10677+
"document":true
10678+
},
1065610679
"IcebergInput":{
1065710680
"type":"structure",
1065810681
"required":["MetadataOperation"],
1065910682
"members":{
1066010683
"MetadataOperation":{"shape":"MetadataOperation"},
10661-
"Version":{"shape":"VersionString"}
10684+
"Version":{"shape":"VersionString"},
10685+
"CreateIcebergTableInput":{"shape":"CreateIcebergTableInput"}
1066210686
}
1066310687
},
10688+
"IcebergNullOrder":{
10689+
"type":"string",
10690+
"enum":[
10691+
"nulls-first",
10692+
"nulls-last"
10693+
]
10694+
},
1066410695
"IcebergOrphanFileDeletionConfiguration":{
1066510696
"type":"structure",
1066610697
"members":{
@@ -10677,6 +10708,32 @@
1067710708
"JobDurationInHour":{"shape":"dpuDurationInHour"}
1067810709
}
1067910710
},
10711+
"IcebergPartitionField":{
10712+
"type":"structure",
10713+
"required":[
10714+
"SourceId",
10715+
"Transform",
10716+
"Name"
10717+
],
10718+
"members":{
10719+
"SourceId":{"shape":"Integer"},
10720+
"Transform":{"shape":"IcebergTransformString"},
10721+
"Name":{"shape":"ColumnNameString"},
10722+
"FieldId":{"shape":"Integer"}
10723+
}
10724+
},
10725+
"IcebergPartitionSpec":{
10726+
"type":"structure",
10727+
"required":["Fields"],
10728+
"members":{
10729+
"Fields":{"shape":"IcebergPartitionSpecFieldList"},
10730+
"SpecId":{"shape":"Integer"}
10731+
}
10732+
},
10733+
"IcebergPartitionSpecFieldList":{
10734+
"type":"list",
10735+
"member":{"shape":"IcebergPartitionField"}
10736+
},
1068010737
"IcebergRetentionConfiguration":{
1068110738
"type":"structure",
1068210739
"members":{
@@ -10696,6 +10753,95 @@
1069610753
"JobDurationInHour":{"shape":"dpuDurationInHour"}
1069710754
}
1069810755
},
10756+
"IcebergSchema":{
10757+
"type":"structure",
10758+
"required":["Fields"],
10759+
"members":{
10760+
"SchemaId":{"shape":"Integer"},
10761+
"IdentifierFieldIds":{"shape":"IntegerList"},
10762+
"Type":{"shape":"IcebergStructTypeEnum"},
10763+
"Fields":{"shape":"IcebergStructFieldList"}
10764+
}
10765+
},
10766+
"IcebergSortDirection":{
10767+
"type":"string",
10768+
"enum":[
10769+
"asc",
10770+
"desc"
10771+
]
10772+
},
10773+
"IcebergSortField":{
10774+
"type":"structure",
10775+
"required":[
10776+
"SourceId",
10777+
"Transform",
10778+
"Direction",
10779+
"NullOrder"
10780+
],
10781+
"members":{
10782+
"SourceId":{"shape":"Integer"},
10783+
"Transform":{"shape":"IcebergTransformString"},
10784+
"Direction":{"shape":"IcebergSortDirection"},
10785+
"NullOrder":{"shape":"IcebergNullOrder"}
10786+
}
10787+
},
10788+
"IcebergSortOrder":{
10789+
"type":"structure",
10790+
"required":[
10791+
"OrderId",
10792+
"Fields"
10793+
],
10794+
"members":{
10795+
"OrderId":{"shape":"Integer"},
10796+
"Fields":{"shape":"IcebergSortOrderFieldList"}
10797+
}
10798+
},
10799+
"IcebergSortOrderFieldList":{
10800+
"type":"list",
10801+
"member":{"shape":"IcebergSortField"}
10802+
},
10803+
"IcebergStructField":{
10804+
"type":"structure",
10805+
"required":[
10806+
"Id",
10807+
"Name",
10808+
"Type",
10809+
"Required"
10810+
],
10811+
"members":{
10812+
"Id":{"shape":"Integer"},
10813+
"Name":{"shape":"ColumnNameString"},
10814+
"Type":{"shape":"IcebergDocument"},
10815+
"Required":{"shape":"Boolean"},
10816+
"Doc":{"shape":"CommentString"}
10817+
}
10818+
},
10819+
"IcebergStructFieldList":{
10820+
"type":"list",
10821+
"member":{"shape":"IcebergStructField"}
10822+
},
10823+
"IcebergStructTypeEnum":{
10824+
"type":"string",
10825+
"enum":["struct"]
10826+
},
10827+
"IcebergTableUpdate":{
10828+
"type":"structure",
10829+
"required":[
10830+
"Schema",
10831+
"Location"
10832+
],
10833+
"members":{
10834+
"Schema":{"shape":"IcebergSchema"},
10835+
"PartitionSpec":{"shape":"IcebergPartitionSpec"},
10836+
"SortOrder":{"shape":"IcebergSortOrder"},
10837+
"Location":{"shape":"LocationString"},
10838+
"Properties":{"shape":"StringToStringMap"}
10839+
}
10840+
},
10841+
"IcebergTableUpdateList":{
10842+
"type":"list",
10843+
"member":{"shape":"IcebergTableUpdate"}
10844+
},
1069910845
"IcebergTarget":{
1070010846
"type":"structure",
1070110847
"members":{
@@ -10718,6 +10864,7 @@
1071810864
"type":"list",
1071910865
"member":{"shape":"IcebergTarget"}
1072010866
},
10867+
"IcebergTransformString":{"type":"string"},
1072110868
"IdString":{
1072210869
"type":"string",
1072310870
"max":255,
@@ -10813,6 +10960,10 @@
1081310960
"max":1,
1081410961
"min":0
1081510962
},
10963+
"IntegerList":{
10964+
"type":"list",
10965+
"member":{"shape":"Integer"}
10966+
},
1081610967
"IntegerValue":{"type":"integer"},
1081710968
"Integration":{
1081810969
"type":"structure",
@@ -15105,6 +15256,11 @@
1510515256
"type":"list",
1510615257
"member":{"shape":"GenericString"}
1510715258
},
15259+
"StringToStringMap":{
15260+
"type":"map",
15261+
"key":{"shape":"NullableString"},
15262+
"value":{"shape":"NullableString"}
15263+
},
1510815264
"SupportedDialect":{
1510915265
"type":"structure",
1511015266
"members":{
@@ -16058,6 +16214,20 @@
1605816214
"CustomPatterns":{"shape":"CustomPatterns"}
1605916215
}
1606016216
},
16217+
"UpdateIcebergInput":{
16218+
"type":"structure",
16219+
"required":["UpdateIcebergTableInput"],
16220+
"members":{
16221+
"UpdateIcebergTableInput":{"shape":"UpdateIcebergTableInput"}
16222+
}
16223+
},
16224+
"UpdateIcebergTableInput":{
16225+
"type":"structure",
16226+
"required":["Updates"],
16227+
"members":{
16228+
"Updates":{"shape":"IcebergTableUpdateList"}
16229+
}
16230+
},
1606116231
"UpdateIntegrationResourcePropertyRequest":{
1606216232
"type":"structure",
1606316233
"required":["ResourceArn"],
@@ -16160,6 +16330,12 @@
1616016330
"TransformId":{"shape":"HashString"}
1616116331
}
1616216332
},
16333+
"UpdateOpenTableFormatInput":{
16334+
"type":"structure",
16335+
"members":{
16336+
"UpdateIcebergInput":{"shape":"UpdateIcebergInput"}
16337+
}
16338+
},
1616316339
"UpdatePartitionRequest":{
1616416340
"type":"structure",
1616516341
"required":[
@@ -16259,19 +16435,18 @@
1625916435
},
1626016436
"UpdateTableRequest":{
1626116437
"type":"structure",
16262-
"required":[
16263-
"DatabaseName",
16264-
"TableInput"
16265-
],
16438+
"required":["DatabaseName"],
1626616439
"members":{
1626716440
"CatalogId":{"shape":"CatalogIdString"},
1626816441
"DatabaseName":{"shape":"NameString"},
16442+
"Name":{"shape":"NameString"},
1626916443
"TableInput":{"shape":"TableInput"},
1627016444
"SkipArchive":{"shape":"BooleanNullable"},
1627116445
"TransactionId":{"shape":"TransactionIdString"},
1627216446
"VersionId":{"shape":"VersionString"},
1627316447
"ViewUpdateAction":{"shape":"ViewUpdateAction"},
16274-
"Force":{"shape":"Boolean"}
16448+
"Force":{"shape":"Boolean"},
16449+
"UpdateOpenTableFormatInput":{"shape":"UpdateOpenTableFormatInput"}
1627516450
}
1627616451
},
1627716452
"UpdateTableResponse":{

0 commit comments

Comments
 (0)