Class: Aws::Glue::Types::UpdateColumnStatisticsForTableRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Note:

When making an API call, you may pass UpdateColumnStatisticsForTableRequest data as a 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
        },
      },
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

The ID of the Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.

Returns:

  • (String)


16344
16345
16346
16347
16348
16349
16350
16351
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 16344

class UpdateColumnStatisticsForTableRequest < Struct.new(
  :catalog_id,
  :database_name,
  :table_name,
  :column_statistics_list)
  SENSITIVE = []
  include Aws::Structure
end

#column_statistics_listArray<Types::ColumnStatistics>

A list of the column statistics.

Returns:



16344
16345
16346
16347
16348
16349
16350
16351
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 16344

class UpdateColumnStatisticsForTableRequest < Struct.new(
  :catalog_id,
  :database_name,
  :table_name,
  :column_statistics_list)
  SENSITIVE = []
  include Aws::Structure
end

#database_nameString

The name of the catalog database where the partitions reside.

Returns:

  • (String)


16344
16345
16346
16347
16348
16349
16350
16351
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 16344

class UpdateColumnStatisticsForTableRequest < Struct.new(
  :catalog_id,
  :database_name,
  :table_name,
  :column_statistics_list)
  SENSITIVE = []
  include Aws::Structure
end

#table_nameString

The name of the partitions' table.

Returns:

  • (String)


16344
16345
16346
16347
16348
16349
16350
16351
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 16344

class UpdateColumnStatisticsForTableRequest < Struct.new(
  :catalog_id,
  :database_name,
  :table_name,
  :column_statistics_list)
  SENSITIVE = []
  include Aws::Structure
end