aws-sdk-glue 1.221.0 → 1.223.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glue/client.rb +145 -3
- data/lib/aws-sdk-glue/client_api.rb +110 -1
- data/lib/aws-sdk-glue/types.rb +463 -5
- data/lib/aws-sdk-glue.rb +1 -1
- data/sig/client.rbs +113 -7
- data/sig/types.rbs +97 -0
- metadata +1 -1
data/lib/aws-sdk-glue/types.rb
CHANGED
@@ -3423,6 +3423,22 @@ module Aws::Glue
|
|
3423
3423
|
include Aws::Structure
|
3424
3424
|
end
|
3425
3425
|
|
3426
|
+
# The configuration for a compaction optimizer. This configuration
|
3427
|
+
# defines how data files in your table will be compacted to improve
|
3428
|
+
# query performance and reduce storage costs.
|
3429
|
+
#
|
3430
|
+
# @!attribute [rw] iceberg_configuration
|
3431
|
+
# The configuration for an Iceberg compaction optimizer.
|
3432
|
+
# @return [Types::IcebergCompactionConfiguration]
|
3433
|
+
#
|
3434
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CompactionConfiguration AWS API Documentation
|
3435
|
+
#
|
3436
|
+
class CompactionConfiguration < Struct.new(
|
3437
|
+
:iceberg_configuration)
|
3438
|
+
SENSITIVE = []
|
3439
|
+
include Aws::Structure
|
3440
|
+
end
|
3441
|
+
|
3426
3442
|
# A structure that contains compaction metrics for the optimizer run.
|
3427
3443
|
#
|
3428
3444
|
# @!attribute [rw] iceberg_metrics
|
@@ -5689,6 +5705,47 @@ module Aws::Glue
|
|
5689
5705
|
include Aws::Structure
|
5690
5706
|
end
|
5691
5707
|
|
5708
|
+
# The configuration parameters required to create a new Iceberg table in
|
5709
|
+
# the Glue Data Catalog, including table properties and metadata
|
5710
|
+
# specifications.
|
5711
|
+
#
|
5712
|
+
# @!attribute [rw] location
|
5713
|
+
# The S3 location where the Iceberg table data will be stored.
|
5714
|
+
# @return [String]
|
5715
|
+
#
|
5716
|
+
# @!attribute [rw] schema
|
5717
|
+
# The schema definition that specifies the structure, field types, and
|
5718
|
+
# metadata for the Iceberg table.
|
5719
|
+
# @return [Types::IcebergSchema]
|
5720
|
+
#
|
5721
|
+
# @!attribute [rw] partition_spec
|
5722
|
+
# The partitioning specification that defines how the Iceberg table
|
5723
|
+
# data will be organized and partitioned for optimal query
|
5724
|
+
# performance.
|
5725
|
+
# @return [Types::IcebergPartitionSpec]
|
5726
|
+
#
|
5727
|
+
# @!attribute [rw] write_order
|
5728
|
+
# The sort order specification that defines how data should be ordered
|
5729
|
+
# within each partition to optimize query performance.
|
5730
|
+
# @return [Types::IcebergSortOrder]
|
5731
|
+
#
|
5732
|
+
# @!attribute [rw] properties
|
5733
|
+
# Key-value pairs of additional table properties and configuration
|
5734
|
+
# settings for the Iceberg table.
|
5735
|
+
# @return [Hash<String,String>]
|
5736
|
+
#
|
5737
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateIcebergTableInput AWS API Documentation
|
5738
|
+
#
|
5739
|
+
class CreateIcebergTableInput < Struct.new(
|
5740
|
+
:location,
|
5741
|
+
:schema,
|
5742
|
+
:partition_spec,
|
5743
|
+
:write_order,
|
5744
|
+
:properties)
|
5745
|
+
SENSITIVE = []
|
5746
|
+
include Aws::Structure
|
5747
|
+
end
|
5748
|
+
|
5692
5749
|
# @!attribute [rw] integration_name
|
5693
5750
|
# A unique name for an integration in Glue.
|
5694
5751
|
# @return [String]
|
@@ -7025,6 +7082,11 @@ module Aws::Glue
|
|
7025
7082
|
# compatibility, this name is entirely lowercase.
|
7026
7083
|
# @return [String]
|
7027
7084
|
#
|
7085
|
+
# @!attribute [rw] name
|
7086
|
+
# The unique identifier for the table within the specified database
|
7087
|
+
# that will be created in the Glue Data Catalog.
|
7088
|
+
# @return [String]
|
7089
|
+
#
|
7028
7090
|
# @!attribute [rw] table_input
|
7029
7091
|
# The `TableInput` object that defines the metadata table to create in
|
7030
7092
|
# the catalog.
|
@@ -7049,6 +7111,7 @@ module Aws::Glue
|
|
7049
7111
|
class CreateTableRequest < Struct.new(
|
7050
7112
|
:catalog_id,
|
7051
7113
|
:database_name,
|
7114
|
+
:name,
|
7052
7115
|
:table_input,
|
7053
7116
|
:partition_indexes,
|
7054
7117
|
:transaction_id,
|
@@ -10645,11 +10708,18 @@ module Aws::Glue
|
|
10645
10708
|
# Redshift-federated catalog.
|
10646
10709
|
# @return [String]
|
10647
10710
|
#
|
10711
|
+
# @!attribute [rw] connection_type
|
10712
|
+
# The type of connection used to access the federated catalog,
|
10713
|
+
# specifying the protocol or method for connection to the external
|
10714
|
+
# data source.
|
10715
|
+
# @return [String]
|
10716
|
+
#
|
10648
10717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/FederatedCatalog AWS API Documentation
|
10649
10718
|
#
|
10650
10719
|
class FederatedCatalog < Struct.new(
|
10651
10720
|
:identifier,
|
10652
|
-
:connection_name
|
10721
|
+
:connection_name,
|
10722
|
+
:connection_type)
|
10653
10723
|
SENSITIVE = []
|
10654
10724
|
include Aws::Structure
|
10655
10725
|
end
|
@@ -10664,11 +10734,17 @@ module Aws::Glue
|
|
10664
10734
|
# The name of the connection to the external metastore.
|
10665
10735
|
# @return [String]
|
10666
10736
|
#
|
10737
|
+
# @!attribute [rw] connection_type
|
10738
|
+
# The type of connection used to access the federated database, such
|
10739
|
+
# as JDBC, ODBC, or other supported connection protocols.
|
10740
|
+
# @return [String]
|
10741
|
+
#
|
10667
10742
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/FederatedDatabase AWS API Documentation
|
10668
10743
|
#
|
10669
10744
|
class FederatedDatabase < Struct.new(
|
10670
10745
|
:identifier,
|
10671
|
-
:connection_name
|
10746
|
+
:connection_name,
|
10747
|
+
:connection_type)
|
10672
10748
|
SENSITIVE = []
|
10673
10749
|
include Aws::Structure
|
10674
10750
|
end
|
@@ -10706,12 +10782,19 @@ module Aws::Glue
|
|
10706
10782
|
# The name of the connection to the external metastore.
|
10707
10783
|
# @return [String]
|
10708
10784
|
#
|
10785
|
+
# @!attribute [rw] connection_type
|
10786
|
+
# The type of connection used to access the federated table,
|
10787
|
+
# specifying the protocol or method for connecting to the external
|
10788
|
+
# data source.
|
10789
|
+
# @return [String]
|
10790
|
+
#
|
10709
10791
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/FederatedTable AWS API Documentation
|
10710
10792
|
#
|
10711
10793
|
class FederatedTable < Struct.new(
|
10712
10794
|
:identifier,
|
10713
10795
|
:database_identifier,
|
10714
|
-
:connection_name
|
10796
|
+
:connection_name,
|
10797
|
+
:connection_type)
|
10715
10798
|
SENSITIVE = []
|
10716
10799
|
include Aws::Structure
|
10717
10800
|
end
|
@@ -15449,6 +15532,44 @@ module Aws::Glue
|
|
15449
15532
|
include Aws::Structure
|
15450
15533
|
end
|
15451
15534
|
|
15535
|
+
# The configuration for an Iceberg compaction optimizer. This
|
15536
|
+
# configuration defines parameters for optimizing the layout of data
|
15537
|
+
# files in Iceberg tables.
|
15538
|
+
#
|
15539
|
+
# @!attribute [rw] strategy
|
15540
|
+
# The strategy to use for compaction. Valid values are:
|
15541
|
+
#
|
15542
|
+
# * `binpack`: Combines small files into larger files, typically
|
15543
|
+
# targeting sizes over 100MB, while applying any pending deletes.
|
15544
|
+
# This is the recommended compaction strategy for most use cases.
|
15545
|
+
#
|
15546
|
+
# * `sort`: Organizes data based on specified columns which are sorted
|
15547
|
+
# hierarchically during compaction, improving query performance for
|
15548
|
+
# filtered operations. This strategy is recommended when your
|
15549
|
+
# queries frequently filter on specific columns. To use this
|
15550
|
+
# strategy, you must first define a sort order in your Iceberg table
|
15551
|
+
# properties using the `sort_order` table property.
|
15552
|
+
#
|
15553
|
+
# * `z-order`: Optimizes data organization by blending multiple
|
15554
|
+
# attributes into a single scalar value that can be used for
|
15555
|
+
# sorting, allowing efficient querying across multiple dimensions.
|
15556
|
+
# This strategy is recommended when you need to query data across
|
15557
|
+
# multiple dimensions simultaneously. To use this strategy, you must
|
15558
|
+
# first define a sort order in your Iceberg table properties using
|
15559
|
+
# the `sort_order` table property.
|
15560
|
+
#
|
15561
|
+
# If an input is not provided, the default value 'binpack' will be
|
15562
|
+
# used.
|
15563
|
+
# @return [String]
|
15564
|
+
#
|
15565
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergCompactionConfiguration AWS API Documentation
|
15566
|
+
#
|
15567
|
+
class IcebergCompactionConfiguration < Struct.new(
|
15568
|
+
:strategy)
|
15569
|
+
SENSITIVE = []
|
15570
|
+
include Aws::Structure
|
15571
|
+
end
|
15572
|
+
|
15452
15573
|
# Compaction metrics for Iceberg for the optimizer run.
|
15453
15574
|
#
|
15454
15575
|
# @!attribute [rw] number_of_bytes_compacted
|
@@ -15495,11 +15616,18 @@ module Aws::Glue
|
|
15495
15616
|
# The table version for the Iceberg table. Defaults to 2.
|
15496
15617
|
# @return [String]
|
15497
15618
|
#
|
15619
|
+
# @!attribute [rw] create_iceberg_table_input
|
15620
|
+
# The configuration parameters required to create a new Iceberg table
|
15621
|
+
# in the Glue Data Catalog, including table properties and metadata
|
15622
|
+
# specifications.
|
15623
|
+
# @return [Types::CreateIcebergTableInput]
|
15624
|
+
#
|
15498
15625
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergInput AWS API Documentation
|
15499
15626
|
#
|
15500
15627
|
class IcebergInput < Struct.new(
|
15501
15628
|
:metadata_operation,
|
15502
|
-
:version
|
15629
|
+
:version,
|
15630
|
+
:create_iceberg_table_input)
|
15503
15631
|
SENSITIVE = []
|
15504
15632
|
include Aws::Structure
|
15505
15633
|
end
|
@@ -15558,6 +15686,65 @@ module Aws::Glue
|
|
15558
15686
|
include Aws::Structure
|
15559
15687
|
end
|
15560
15688
|
|
15689
|
+
# Defines a single partition field within an Iceberg partition
|
15690
|
+
# specification, including the source field, transformation function,
|
15691
|
+
# partition name, and unique identifier.
|
15692
|
+
#
|
15693
|
+
# @!attribute [rw] source_id
|
15694
|
+
# The identifier of the source field from the table schema that this
|
15695
|
+
# partition field is based on.
|
15696
|
+
# @return [Integer]
|
15697
|
+
#
|
15698
|
+
# @!attribute [rw] transform
|
15699
|
+
# The transformation function applied to the source field to create
|
15700
|
+
# the partition, such as identity, bucket, truncate, year, month, day,
|
15701
|
+
# or hour.
|
15702
|
+
# @return [String]
|
15703
|
+
#
|
15704
|
+
# @!attribute [rw] name
|
15705
|
+
# The name of the partition field as it will appear in the partitioned
|
15706
|
+
# table structure.
|
15707
|
+
# @return [String]
|
15708
|
+
#
|
15709
|
+
# @!attribute [rw] field_id
|
15710
|
+
# The unique identifier assigned to this partition field within the
|
15711
|
+
# Iceberg table's partition specification.
|
15712
|
+
# @return [Integer]
|
15713
|
+
#
|
15714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergPartitionField AWS API Documentation
|
15715
|
+
#
|
15716
|
+
class IcebergPartitionField < Struct.new(
|
15717
|
+
:source_id,
|
15718
|
+
:transform,
|
15719
|
+
:name,
|
15720
|
+
:field_id)
|
15721
|
+
SENSITIVE = []
|
15722
|
+
include Aws::Structure
|
15723
|
+
end
|
15724
|
+
|
15725
|
+
# Defines the partitioning specification for an Iceberg table,
|
15726
|
+
# determining how table data will be organized and partitioned for
|
15727
|
+
# optimal query performance.
|
15728
|
+
#
|
15729
|
+
# @!attribute [rw] fields
|
15730
|
+
# The list of partition fields that define how the table data should
|
15731
|
+
# be partitioned, including source fields and their transformations.
|
15732
|
+
# @return [Array<Types::IcebergPartitionField>]
|
15733
|
+
#
|
15734
|
+
# @!attribute [rw] spec_id
|
15735
|
+
# The unique identifier for this partition specification within the
|
15736
|
+
# Iceberg table's metadata history.
|
15737
|
+
# @return [Integer]
|
15738
|
+
#
|
15739
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergPartitionSpec AWS API Documentation
|
15740
|
+
#
|
15741
|
+
class IcebergPartitionSpec < Struct.new(
|
15742
|
+
:fields,
|
15743
|
+
:spec_id)
|
15744
|
+
SENSITIVE = []
|
15745
|
+
include Aws::Structure
|
15746
|
+
end
|
15747
|
+
|
15561
15748
|
# The configuration for an Iceberg snapshot retention optimizer.
|
15562
15749
|
#
|
15563
15750
|
# @!attribute [rw] snapshot_retention_period_in_days
|
@@ -15628,6 +15815,177 @@ module Aws::Glue
|
|
15628
15815
|
include Aws::Structure
|
15629
15816
|
end
|
15630
15817
|
|
15818
|
+
# Defines the schema structure for an Iceberg table, including field
|
15819
|
+
# definitions, data types, and schema metadata.
|
15820
|
+
#
|
15821
|
+
# @!attribute [rw] schema_id
|
15822
|
+
# The unique identifier for this schema version within the Iceberg
|
15823
|
+
# table's schema evolution history.
|
15824
|
+
# @return [Integer]
|
15825
|
+
#
|
15826
|
+
# @!attribute [rw] identifier_field_ids
|
15827
|
+
# The list of field identifiers that uniquely identify records in the
|
15828
|
+
# table, used for row-level operations and deduplication.
|
15829
|
+
# @return [Array<Integer>]
|
15830
|
+
#
|
15831
|
+
# @!attribute [rw] type
|
15832
|
+
# The root type of the schema structure, typically "struct" for
|
15833
|
+
# Iceberg table schemas.
|
15834
|
+
# @return [String]
|
15835
|
+
#
|
15836
|
+
# @!attribute [rw] fields
|
15837
|
+
# The list of field definitions that make up the table schema,
|
15838
|
+
# including field names, types, and metadata.
|
15839
|
+
# @return [Array<Types::IcebergStructField>]
|
15840
|
+
#
|
15841
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergSchema AWS API Documentation
|
15842
|
+
#
|
15843
|
+
class IcebergSchema < Struct.new(
|
15844
|
+
:schema_id,
|
15845
|
+
:identifier_field_ids,
|
15846
|
+
:type,
|
15847
|
+
:fields)
|
15848
|
+
SENSITIVE = []
|
15849
|
+
include Aws::Structure
|
15850
|
+
end
|
15851
|
+
|
15852
|
+
# Defines a single field within an Iceberg sort order specification,
|
15853
|
+
# including the source field, transformation, sort direction, and null
|
15854
|
+
# value ordering.
|
15855
|
+
#
|
15856
|
+
# @!attribute [rw] source_id
|
15857
|
+
# The identifier of the source field from the table schema that this
|
15858
|
+
# sort field is based on.
|
15859
|
+
# @return [Integer]
|
15860
|
+
#
|
15861
|
+
# @!attribute [rw] transform
|
15862
|
+
# The transformation function applied to the source field before
|
15863
|
+
# sorting, such as identity, bucket, or truncate.
|
15864
|
+
# @return [String]
|
15865
|
+
#
|
15866
|
+
# @!attribute [rw] direction
|
15867
|
+
# The sort direction for this field, either ascending or descending.
|
15868
|
+
# @return [String]
|
15869
|
+
#
|
15870
|
+
# @!attribute [rw] null_order
|
15871
|
+
# The ordering behavior for null values in this field, specifying
|
15872
|
+
# whether nulls should appear first or last in the sort order.
|
15873
|
+
# @return [String]
|
15874
|
+
#
|
15875
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergSortField AWS API Documentation
|
15876
|
+
#
|
15877
|
+
class IcebergSortField < Struct.new(
|
15878
|
+
:source_id,
|
15879
|
+
:transform,
|
15880
|
+
:direction,
|
15881
|
+
:null_order)
|
15882
|
+
SENSITIVE = []
|
15883
|
+
include Aws::Structure
|
15884
|
+
end
|
15885
|
+
|
15886
|
+
# Defines the sort order specification for an Iceberg table, determining
|
15887
|
+
# how data should be ordered within partitions to optimize query
|
15888
|
+
# performance.
|
15889
|
+
#
|
15890
|
+
# @!attribute [rw] order_id
|
15891
|
+
# The unique identifier for this sort order specification within the
|
15892
|
+
# Iceberg table's metadata.
|
15893
|
+
# @return [Integer]
|
15894
|
+
#
|
15895
|
+
# @!attribute [rw] fields
|
15896
|
+
# The list of fields and their sort directions that define the
|
15897
|
+
# ordering criteria for the Iceberg table data.
|
15898
|
+
# @return [Array<Types::IcebergSortField>]
|
15899
|
+
#
|
15900
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergSortOrder AWS API Documentation
|
15901
|
+
#
|
15902
|
+
class IcebergSortOrder < Struct.new(
|
15903
|
+
:order_id,
|
15904
|
+
:fields)
|
15905
|
+
SENSITIVE = []
|
15906
|
+
include Aws::Structure
|
15907
|
+
end
|
15908
|
+
|
15909
|
+
# Defines a single field within an Iceberg table schema, including its
|
15910
|
+
# identifier, name, data type, nullability, and documentation.
|
15911
|
+
#
|
15912
|
+
# @!attribute [rw] id
|
15913
|
+
# The unique identifier assigned to this field within the Iceberg
|
15914
|
+
# table schema, used for schema evolution and field tracking.
|
15915
|
+
# @return [Integer]
|
15916
|
+
#
|
15917
|
+
# @!attribute [rw] name
|
15918
|
+
# The name of the field as it appears in the table schema and query
|
15919
|
+
# operations.
|
15920
|
+
# @return [String]
|
15921
|
+
#
|
15922
|
+
# @!attribute [rw] type
|
15923
|
+
# The data type definition for this field, specifying the structure
|
15924
|
+
# and format of the data it contains.
|
15925
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
15926
|
+
#
|
15927
|
+
# @!attribute [rw] required
|
15928
|
+
# Indicates whether this field is required (non-nullable) or optional
|
15929
|
+
# (nullable) in the table schema.
|
15930
|
+
# @return [Boolean]
|
15931
|
+
#
|
15932
|
+
# @!attribute [rw] doc
|
15933
|
+
# Optional documentation or description text that provides additional
|
15934
|
+
# context about the purpose and usage of this field.
|
15935
|
+
# @return [String]
|
15936
|
+
#
|
15937
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergStructField AWS API Documentation
|
15938
|
+
#
|
15939
|
+
class IcebergStructField < Struct.new(
|
15940
|
+
:id,
|
15941
|
+
:name,
|
15942
|
+
:type,
|
15943
|
+
:required,
|
15944
|
+
:doc)
|
15945
|
+
SENSITIVE = []
|
15946
|
+
include Aws::Structure
|
15947
|
+
end
|
15948
|
+
|
15949
|
+
# Defines a complete set of updates to be applied to an Iceberg table,
|
15950
|
+
# including schema changes, partitioning modifications, sort order
|
15951
|
+
# adjustments, location updates, and property changes.
|
15952
|
+
#
|
15953
|
+
# @!attribute [rw] schema
|
15954
|
+
# The updated schema definition for the Iceberg table, specifying any
|
15955
|
+
# changes to field structure, data types, or schema metadata.
|
15956
|
+
# @return [Types::IcebergSchema]
|
15957
|
+
#
|
15958
|
+
# @!attribute [rw] partition_spec
|
15959
|
+
# The updated partitioning specification that defines how the table
|
15960
|
+
# data should be reorganized and partitioned.
|
15961
|
+
# @return [Types::IcebergPartitionSpec]
|
15962
|
+
#
|
15963
|
+
# @!attribute [rw] sort_order
|
15964
|
+
# The updated sort order specification that defines how data should be
|
15965
|
+
# ordered within partitions for optimal query performance.
|
15966
|
+
# @return [Types::IcebergSortOrder]
|
15967
|
+
#
|
15968
|
+
# @!attribute [rw] location
|
15969
|
+
# The updated S3 location where the Iceberg table data will be stored.
|
15970
|
+
# @return [String]
|
15971
|
+
#
|
15972
|
+
# @!attribute [rw] properties
|
15973
|
+
# Updated key-value pairs of table properties and configuration
|
15974
|
+
# settings for the Iceberg table.
|
15975
|
+
# @return [Hash<String,String>]
|
15976
|
+
#
|
15977
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergTableUpdate AWS API Documentation
|
15978
|
+
#
|
15979
|
+
class IcebergTableUpdate < Struct.new(
|
15980
|
+
:schema,
|
15981
|
+
:partition_spec,
|
15982
|
+
:sort_order,
|
15983
|
+
:location,
|
15984
|
+
:properties)
|
15985
|
+
SENSITIVE = []
|
15986
|
+
include Aws::Structure
|
15987
|
+
end
|
15988
|
+
|
15631
15989
|
# Specifies an Apache Iceberg data source where Iceberg tables are
|
15632
15990
|
# stored in Amazon S3.
|
15633
15991
|
#
|
@@ -25751,6 +26109,12 @@ module Aws::Glue
|
|
25751
26109
|
# that are in a customer VPC.
|
25752
26110
|
# @return [Types::TableOptimizerVpcConfiguration]
|
25753
26111
|
#
|
26112
|
+
# @!attribute [rw] compaction_configuration
|
26113
|
+
# The configuration for a compaction optimizer. This configuration
|
26114
|
+
# defines how data files in your table will be compacted to improve
|
26115
|
+
# query performance and reduce storage costs.
|
26116
|
+
# @return [Types::CompactionConfiguration]
|
26117
|
+
#
|
25754
26118
|
# @!attribute [rw] retention_configuration
|
25755
26119
|
# The configuration for a snapshot retention optimizer.
|
25756
26120
|
# @return [Types::RetentionConfiguration]
|
@@ -25765,6 +26129,7 @@ module Aws::Glue
|
|
25765
26129
|
:role_arn,
|
25766
26130
|
:enabled,
|
25767
26131
|
:vpc_configuration,
|
26132
|
+
:compaction_configuration,
|
25768
26133
|
:retention_configuration,
|
25769
26134
|
:orphan_file_deletion_configuration)
|
25770
26135
|
SENSITIVE = []
|
@@ -25802,6 +26167,31 @@ module Aws::Glue
|
|
25802
26167
|
# run.
|
25803
26168
|
# @return [Types::CompactionMetrics]
|
25804
26169
|
#
|
26170
|
+
# @!attribute [rw] compaction_strategy
|
26171
|
+
# The strategy used for the compaction run. Indicates which algorithm
|
26172
|
+
# was applied to determine how files were selected and combined during
|
26173
|
+
# the compaction process. Valid values are:
|
26174
|
+
#
|
26175
|
+
# * `binpack`: Combines small files into larger files, typically
|
26176
|
+
# targeting sizes over 100MB, while applying any pending deletes.
|
26177
|
+
# This is the recommended compaction strategy for most use cases.
|
26178
|
+
#
|
26179
|
+
# * `sort`: Organizes data based on specified columns which are sorted
|
26180
|
+
# hierarchically during compaction, improving query performance for
|
26181
|
+
# filtered operations. This strategy is recommended when your
|
26182
|
+
# queries frequently filter on specific columns. To use this
|
26183
|
+
# strategy, you must first define a sort order in your Iceberg table
|
26184
|
+
# properties using the `sort_order` table property.
|
26185
|
+
#
|
26186
|
+
# * `z-order`: Optimizes data organization by blending multiple
|
26187
|
+
# attributes into a single scalar value that can be used for
|
26188
|
+
# sorting, allowing efficient querying across multiple dimensions.
|
26189
|
+
# This strategy is recommended when you need to query data across
|
26190
|
+
# multiple dimensions simultaneously. To use this strategy, you must
|
26191
|
+
# first define a sort order in your Iceberg table properties using
|
26192
|
+
# the `sort_order` table property.
|
26193
|
+
# @return [String]
|
26194
|
+
#
|
25805
26195
|
# @!attribute [rw] retention_metrics
|
25806
26196
|
# A `RetentionMetrics` object containing metrics for the optimizer
|
25807
26197
|
# run.
|
@@ -25821,6 +26211,7 @@ module Aws::Glue
|
|
25821
26211
|
:metrics,
|
25822
26212
|
:error,
|
25823
26213
|
:compaction_metrics,
|
26214
|
+
:compaction_strategy,
|
25824
26215
|
:retention_metrics,
|
25825
26216
|
:orphan_file_deletion_metrics)
|
25826
26217
|
SENSITIVE = []
|
@@ -27397,6 +27788,42 @@ module Aws::Glue
|
|
27397
27788
|
include Aws::Structure
|
27398
27789
|
end
|
27399
27790
|
|
27791
|
+
# Input parameters specific to updating Apache Iceberg tables in Glue
|
27792
|
+
# Data Catalog, containing the update operations to be applied to an
|
27793
|
+
# existing Iceberg table.
|
27794
|
+
#
|
27795
|
+
# @!attribute [rw] update_iceberg_table_input
|
27796
|
+
# The specific update operations to be applied to the Iceberg table,
|
27797
|
+
# containing a list of updates that define the new state of the table
|
27798
|
+
# including schema, partitions, and properties.
|
27799
|
+
# @return [Types::UpdateIcebergTableInput]
|
27800
|
+
#
|
27801
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateIcebergInput AWS API Documentation
|
27802
|
+
#
|
27803
|
+
class UpdateIcebergInput < Struct.new(
|
27804
|
+
:update_iceberg_table_input)
|
27805
|
+
SENSITIVE = []
|
27806
|
+
include Aws::Structure
|
27807
|
+
end
|
27808
|
+
|
27809
|
+
# Contains the update operations to be applied to an existing Iceberg
|
27810
|
+
# table in AWS Glue Data Catalog, defining the new state of the table
|
27811
|
+
# metadata.
|
27812
|
+
#
|
27813
|
+
# @!attribute [rw] updates
|
27814
|
+
# The list of table update operations that specify the changes to be
|
27815
|
+
# made to the Iceberg table, including schema modifications, partition
|
27816
|
+
# specifications, and table properties.
|
27817
|
+
# @return [Array<Types::IcebergTableUpdate>]
|
27818
|
+
#
|
27819
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateIcebergTableInput AWS API Documentation
|
27820
|
+
#
|
27821
|
+
class UpdateIcebergTableInput < Struct.new(
|
27822
|
+
:updates)
|
27823
|
+
SENSITIVE = []
|
27824
|
+
include Aws::Structure
|
27825
|
+
end
|
27826
|
+
|
27400
27827
|
# @!attribute [rw] resource_arn
|
27401
27828
|
# The connection ARN of the source, or the database ARN of the target.
|
27402
27829
|
# @return [String]
|
@@ -27708,6 +28135,24 @@ module Aws::Glue
|
|
27708
28135
|
include Aws::Structure
|
27709
28136
|
end
|
27710
28137
|
|
28138
|
+
# Input parameters for updating open table format tables in GlueData
|
28139
|
+
# Catalog, serving as a wrapper for format-specific update operations
|
28140
|
+
# such as Apache Iceberg.
|
28141
|
+
#
|
28142
|
+
# @!attribute [rw] update_iceberg_input
|
28143
|
+
# Apache Iceberg-specific update parameters that define the table
|
28144
|
+
# modifications to be applied, including schema changes, partition
|
28145
|
+
# specifications, and table properties.
|
28146
|
+
# @return [Types::UpdateIcebergInput]
|
28147
|
+
#
|
28148
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateOpenTableFormatInput AWS API Documentation
|
28149
|
+
#
|
28150
|
+
class UpdateOpenTableFormatInput < Struct.new(
|
28151
|
+
:update_iceberg_input)
|
28152
|
+
SENSITIVE = []
|
28153
|
+
include Aws::Structure
|
28154
|
+
end
|
28155
|
+
|
27711
28156
|
# @!attribute [rw] catalog_id
|
27712
28157
|
# The ID of the Data Catalog where the partition to be updated
|
27713
28158
|
# resides. If none is provided, the Amazon Web Services account ID is
|
@@ -27962,6 +28407,11 @@ module Aws::Glue
|
|
27962
28407
|
# Hive compatibility, this name is entirely lowercase.
|
27963
28408
|
# @return [String]
|
27964
28409
|
#
|
28410
|
+
# @!attribute [rw] name
|
28411
|
+
# The unique identifier for the table within the specified database
|
28412
|
+
# that will be created in the Glue Data Catalog.
|
28413
|
+
# @return [String]
|
28414
|
+
#
|
27965
28415
|
# @!attribute [rw] table_input
|
27966
28416
|
# An updated `TableInput` object to define the metadata table in the
|
27967
28417
|
# catalog.
|
@@ -27990,17 +28440,25 @@ module Aws::Glue
|
|
27990
28440
|
# and subobject matching requirements.
|
27991
28441
|
# @return [Boolean]
|
27992
28442
|
#
|
28443
|
+
# @!attribute [rw] update_open_table_format_input
|
28444
|
+
# Input parameters for updating open table format tables in GlueData
|
28445
|
+
# Catalog, serving as a wrapper for format-specific update operations
|
28446
|
+
# such as Apache Iceberg.
|
28447
|
+
# @return [Types::UpdateOpenTableFormatInput]
|
28448
|
+
#
|
27993
28449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTableRequest AWS API Documentation
|
27994
28450
|
#
|
27995
28451
|
class UpdateTableRequest < Struct.new(
|
27996
28452
|
:catalog_id,
|
27997
28453
|
:database_name,
|
28454
|
+
:name,
|
27998
28455
|
:table_input,
|
27999
28456
|
:skip_archive,
|
28000
28457
|
:transaction_id,
|
28001
28458
|
:version_id,
|
28002
28459
|
:view_update_action,
|
28003
|
-
:force
|
28460
|
+
:force,
|
28461
|
+
:update_open_table_format_input)
|
28004
28462
|
SENSITIVE = []
|
28005
28463
|
include Aws::Structure
|
28006
28464
|
end
|