You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Glue::Types::UpdateColumnStatisticsForTableRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glue::Types::UpdateColumnStatisticsForTableRequest
- Defined in:
- (unknown)
Overview
Note:
When passing UpdateColumnStatisticsForTableRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
catalog_id: "CatalogIdString",
database_name: "NameString", # required
table_name: "NameString", # required
column_statistics_list: [ # required
{
column_name: "NameString", # required
column_type: "TypeString", # required
analyzed_time: Time.now, # required
statistics_data: { # required
type: "BOOLEAN", # required, accepts BOOLEAN, DATE, DECIMAL, DOUBLE, LONG, STRING, BINARY
boolean_column_statistics_data: {
number_of_trues: 1, # required
number_of_falses: 1, # required
number_of_nulls: 1, # required
},
date_column_statistics_data: {
minimum_value: Time.now,
maximum_value: Time.now,
number_of_nulls: 1, # required
number_of_distinct_values: 1, # required
},
decimal_column_statistics_data: {
minimum_value: {
unscaled_value: "data", # required
scale: 1, # required
},
maximum_value: {
unscaled_value: "data", # required
scale: 1, # required
},
number_of_nulls: 1, # required
number_of_distinct_values: 1, # required
},
double_column_statistics_data: {
minimum_value: 1.0,
maximum_value: 1.0,
number_of_nulls: 1, # required
number_of_distinct_values: 1, # required
},
long_column_statistics_data: {
minimum_value: 1,
maximum_value: 1,
number_of_nulls: 1, # required
number_of_distinct_values: 1, # required
},
string_column_statistics_data: {
maximum_length: 1, # required
average_length: 1.0, # required
number_of_nulls: 1, # required
number_of_distinct_values: 1, # required
},
binary_column_statistics_data: {
maximum_length: 1, # required
average_length: 1.0, # required
number_of_nulls: 1, # required
},
},
},
],
}
Instance Attribute Summary collapse
-
#catalog_id ⇒ String
The ID of the Data Catalog where the partitions in question reside.
-
#column_statistics_list ⇒ Array<Types::ColumnStatistics>
A list of the column statistics.
-
#database_name ⇒ String
The name of the catalog database where the partitions reside.
-
#table_name ⇒ String
The name of the partitions\' table.
Instance Attribute Details
#catalog_id ⇒ String
The ID of the Data Catalog where the partitions in question reside. If none is supplied, the AWS account ID is used by default.
#column_statistics_list ⇒ Array<Types::ColumnStatistics>
A list of the column statistics.
#database_name ⇒ String
The name of the catalog database where the partitions reside.
#table_name ⇒ String
The name of the partitions\' table.