You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Glue::Types::PartitionInput

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 PartitionInput data as a hash:

{
  values: ["ValueString"],
  last_access_time: Time.now,
  storage_descriptor: {
    columns: [
      {
        name: "NameString", # required
        type: "ColumnTypeString",
        comment: "CommentString",
      },
    ],
    location: "LocationString",
    input_format: "FormatString",
    output_format: "FormatString",
    compressed: false,
    number_of_buckets: 1,
    serde_info: {
      name: "NameString",
      serialization_library: "NameString",
      parameters: {
        "KeyString" => "ParametersMapValue",
      },
    },
    bucket_columns: ["NameString"],
    sort_columns: [
      {
        column: "NameString", # required
        sort_order: 1, # required
      },
    ],
    parameters: {
      "KeyString" => "ParametersMapValue",
    },
    skewed_info: {
      skewed_column_names: ["NameString"],
      skewed_column_values: ["ColumnValuesString"],
      skewed_column_value_location_maps: {
        "ColumnValuesString" => "ColumnValuesString",
      },
    },
    stored_as_sub_directories: false,
  },
  parameters: {
    "KeyString" => "ParametersMapValue",
  },
  last_analyzed_time: Time.now,
}

The structure used to create and update a partion.

Instance Attribute Summary collapse

Instance Attribute Details

#last_access_timeTime

The last time at which the partition was accessed.

Returns:

  • (Time)


4449
4450
4451
4452
4453
4454
4455
4456
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4449

class PartitionInput < Struct.new(
  :values,
  :last_access_time,
  :storage_descriptor,
  :parameters,
  :last_analyzed_time)
  include Aws::Structure
end

#last_analyzed_timeTime

The last time at which column statistics were computed for this partition.

Returns:

  • (Time)


4449
4450
4451
4452
4453
4454
4455
4456
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4449

class PartitionInput < Struct.new(
  :values,
  :last_access_time,
  :storage_descriptor,
  :parameters,
  :last_analyzed_time)
  include Aws::Structure
end

#parametersHash<String,String>

Partition parameters, in the form of a list of key-value pairs.

Returns:

  • (Hash<String,String>)


4449
4450
4451
4452
4453
4454
4455
4456
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4449

class PartitionInput < Struct.new(
  :values,
  :last_access_time,
  :storage_descriptor,
  :parameters,
  :last_analyzed_time)
  include Aws::Structure
end

#storage_descriptorTypes::StorageDescriptor

Provides information about the physical location where the partition is stored.



4449
4450
4451
4452
4453
4454
4455
4456
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4449

class PartitionInput < Struct.new(
  :values,
  :last_access_time,
  :storage_descriptor,
  :parameters,
  :last_analyzed_time)
  include Aws::Structure
end

#valuesArray<String>

The values of the partition.

Returns:

  • (Array<String>)


4449
4450
4451
4452
4453
4454
4455
4456
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4449

class PartitionInput < Struct.new(
  :values,
  :last_access_time,
  :storage_descriptor,
  :parameters,
  :last_analyzed_time)
  include Aws::Structure
end