1. Packages
  2. AWS
  3. API Docs
  4. glue
  5. Partition
AWS v6.74.0 published on Wednesday, Mar 26, 2025 by Pulumi

aws.glue.Partition

Explore with Pulumi AI

Provides a Glue Partition Resource.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  example:
    type: aws:glue:Partition
    properties:
      databaseName: some-database
      tableName: some-table
      values:
        - some-value
Copy

Create Partition Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Partition(name: string, args: PartitionArgs, opts?: CustomResourceOptions);
@overload
def Partition(resource_name: str,
              args: PartitionArgs,
              opts: Optional[ResourceOptions] = None)

@overload
def Partition(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              database_name: Optional[str] = None,
              partition_values: Optional[Sequence[str]] = None,
              table_name: Optional[str] = None,
              catalog_id: Optional[str] = None,
              parameters: Optional[Mapping[str, str]] = None,
              storage_descriptor: Optional[PartitionStorageDescriptorArgs] = None)
func NewPartition(ctx *Context, name string, args PartitionArgs, opts ...ResourceOption) (*Partition, error)
public Partition(string name, PartitionArgs args, CustomResourceOptions? opts = null)
public Partition(String name, PartitionArgs args)
public Partition(String name, PartitionArgs args, CustomResourceOptions options)
type: aws:glue:Partition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. PartitionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. PartitionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. PartitionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. PartitionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PartitionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var partitionResource = new Aws.Glue.Partition("partitionResource", new()
{
    DatabaseName = "string",
    PartitionValues = new[]
    {
        "string",
    },
    TableName = "string",
    CatalogId = "string",
    Parameters = 
    {
        { "string", "string" },
    },
    StorageDescriptor = new Aws.Glue.Inputs.PartitionStorageDescriptorArgs
    {
        AdditionalLocations = new[]
        {
            "string",
        },
        BucketColumns = new[]
        {
            "string",
        },
        Columns = new[]
        {
            new Aws.Glue.Inputs.PartitionStorageDescriptorColumnArgs
            {
                Name = "string",
                Comment = "string",
                Type = "string",
            },
        },
        Compressed = false,
        InputFormat = "string",
        Location = "string",
        NumberOfBuckets = 0,
        OutputFormat = "string",
        Parameters = 
        {
            { "string", "string" },
        },
        SerDeInfo = new Aws.Glue.Inputs.PartitionStorageDescriptorSerDeInfoArgs
        {
            Name = "string",
            Parameters = 
            {
                { "string", "string" },
            },
            SerializationLibrary = "string",
        },
        SkewedInfo = new Aws.Glue.Inputs.PartitionStorageDescriptorSkewedInfoArgs
        {
            SkewedColumnNames = new[]
            {
                "string",
            },
            SkewedColumnValueLocationMaps = 
            {
                { "string", "string" },
            },
            SkewedColumnValues = new[]
            {
                "string",
            },
        },
        SortColumns = new[]
        {
            new Aws.Glue.Inputs.PartitionStorageDescriptorSortColumnArgs
            {
                Column = "string",
                SortOrder = 0,
            },
        },
        StoredAsSubDirectories = false,
    },
});
Copy
example, err := glue.NewPartition(ctx, "partitionResource", &glue.PartitionArgs{
	DatabaseName: pulumi.String("string"),
	PartitionValues: pulumi.StringArray{
		pulumi.String("string"),
	},
	TableName: pulumi.String("string"),
	CatalogId: pulumi.String("string"),
	Parameters: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	StorageDescriptor: &glue.PartitionStorageDescriptorArgs{
		AdditionalLocations: pulumi.StringArray{
			pulumi.String("string"),
		},
		BucketColumns: pulumi.StringArray{
			pulumi.String("string"),
		},
		Columns: glue.PartitionStorageDescriptorColumnArray{
			&glue.PartitionStorageDescriptorColumnArgs{
				Name:    pulumi.String("string"),
				Comment: pulumi.String("string"),
				Type:    pulumi.String("string"),
			},
		},
		Compressed:      pulumi.Bool(false),
		InputFormat:     pulumi.String("string"),
		Location:        pulumi.String("string"),
		NumberOfBuckets: pulumi.Int(0),
		OutputFormat:    pulumi.String("string"),
		Parameters: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		SerDeInfo: &glue.PartitionStorageDescriptorSerDeInfoArgs{
			Name: pulumi.String("string"),
			Parameters: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			SerializationLibrary: pulumi.String("string"),
		},
		SkewedInfo: &glue.PartitionStorageDescriptorSkewedInfoArgs{
			SkewedColumnNames: pulumi.StringArray{
				pulumi.String("string"),
			},
			SkewedColumnValueLocationMaps: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			SkewedColumnValues: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		SortColumns: glue.PartitionStorageDescriptorSortColumnArray{
			&glue.PartitionStorageDescriptorSortColumnArgs{
				Column:    pulumi.String("string"),
				SortOrder: pulumi.Int(0),
			},
		},
		StoredAsSubDirectories: pulumi.Bool(false),
	},
})
Copy
var partitionResource = new Partition("partitionResource", PartitionArgs.builder()
    .databaseName("string")
    .partitionValues("string")
    .tableName("string")
    .catalogId("string")
    .parameters(Map.of("string", "string"))
    .storageDescriptor(PartitionStorageDescriptorArgs.builder()
        .additionalLocations("string")
        .bucketColumns("string")
        .columns(PartitionStorageDescriptorColumnArgs.builder()
            .name("string")
            .comment("string")
            .type("string")
            .build())
        .compressed(false)
        .inputFormat("string")
        .location("string")
        .numberOfBuckets(0)
        .outputFormat("string")
        .parameters(Map.of("string", "string"))
        .serDeInfo(PartitionStorageDescriptorSerDeInfoArgs.builder()
            .name("string")
            .parameters(Map.of("string", "string"))
            .serializationLibrary("string")
            .build())
        .skewedInfo(PartitionStorageDescriptorSkewedInfoArgs.builder()
            .skewedColumnNames("string")
            .skewedColumnValueLocationMaps(Map.of("string", "string"))
            .skewedColumnValues("string")
            .build())
        .sortColumns(PartitionStorageDescriptorSortColumnArgs.builder()
            .column("string")
            .sortOrder(0)
            .build())
        .storedAsSubDirectories(false)
        .build())
    .build());
Copy
partition_resource = aws.glue.Partition("partitionResource",
    database_name="string",
    partition_values=["string"],
    table_name="string",
    catalog_id="string",
    parameters={
        "string": "string",
    },
    storage_descriptor={
        "additional_locations": ["string"],
        "bucket_columns": ["string"],
        "columns": [{
            "name": "string",
            "comment": "string",
            "type": "string",
        }],
        "compressed": False,
        "input_format": "string",
        "location": "string",
        "number_of_buckets": 0,
        "output_format": "string",
        "parameters": {
            "string": "string",
        },
        "ser_de_info": {
            "name": "string",
            "parameters": {
                "string": "string",
            },
            "serialization_library": "string",
        },
        "skewed_info": {
            "skewed_column_names": ["string"],
            "skewed_column_value_location_maps": {
                "string": "string",
            },
            "skewed_column_values": ["string"],
        },
        "sort_columns": [{
            "column": "string",
            "sort_order": 0,
        }],
        "stored_as_sub_directories": False,
    })
Copy
const partitionResource = new aws.glue.Partition("partitionResource", {
    databaseName: "string",
    partitionValues: ["string"],
    tableName: "string",
    catalogId: "string",
    parameters: {
        string: "string",
    },
    storageDescriptor: {
        additionalLocations: ["string"],
        bucketColumns: ["string"],
        columns: [{
            name: "string",
            comment: "string",
            type: "string",
        }],
        compressed: false,
        inputFormat: "string",
        location: "string",
        numberOfBuckets: 0,
        outputFormat: "string",
        parameters: {
            string: "string",
        },
        serDeInfo: {
            name: "string",
            parameters: {
                string: "string",
            },
            serializationLibrary: "string",
        },
        skewedInfo: {
            skewedColumnNames: ["string"],
            skewedColumnValueLocationMaps: {
                string: "string",
            },
            skewedColumnValues: ["string"],
        },
        sortColumns: [{
            column: "string",
            sortOrder: 0,
        }],
        storedAsSubDirectories: false,
    },
});
Copy
type: aws:glue:Partition
properties:
    catalogId: string
    databaseName: string
    parameters:
        string: string
    partitionValues:
        - string
    storageDescriptor:
        additionalLocations:
            - string
        bucketColumns:
            - string
        columns:
            - comment: string
              name: string
              type: string
        compressed: false
        inputFormat: string
        location: string
        numberOfBuckets: 0
        outputFormat: string
        parameters:
            string: string
        serDeInfo:
            name: string
            parameters:
                string: string
            serializationLibrary: string
        skewedInfo:
            skewedColumnNames:
                - string
            skewedColumnValueLocationMaps:
                string: string
            skewedColumnValues:
                - string
        sortColumns:
            - column: string
              sortOrder: 0
        storedAsSubDirectories: false
    tableName: string
Copy

Partition Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Partition resource accepts the following input properties:

DatabaseName
This property is required.
Changes to this property will trigger replacement.
string
Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
PartitionValues
This property is required.
Changes to this property will trigger replacement.
List<string>
The values that define the partition.
TableName
This property is required.
Changes to this property will trigger replacement.
string
CatalogId Changes to this property will trigger replacement. string
ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
Parameters Dictionary<string, string>
Properties associated with this table, as a list of key-value pairs.
StorageDescriptor PartitionStorageDescriptor
A storage descriptor object containing information about the physical storage of this table. You can refer to the Glue Developer Guide for a full explanation of this object.
DatabaseName
This property is required.
Changes to this property will trigger replacement.
string
Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
PartitionValues
This property is required.
Changes to this property will trigger replacement.
[]string
The values that define the partition.
TableName
This property is required.
Changes to this property will trigger replacement.
string
CatalogId Changes to this property will trigger replacement. string
ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
Parameters map[string]string
Properties associated with this table, as a list of key-value pairs.
StorageDescriptor PartitionStorageDescriptorArgs
A storage descriptor object containing information about the physical storage of this table. You can refer to the Glue Developer Guide for a full explanation of this object.
databaseName
This property is required.
Changes to this property will trigger replacement.
String
Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
partitionValues
This property is required.
Changes to this property will trigger replacement.
List<String>
The values that define the partition.
tableName
This property is required.
Changes to this property will trigger replacement.
String
catalogId Changes to this property will trigger replacement. String
ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
parameters Map<String,String>
Properties associated with this table, as a list of key-value pairs.
storageDescriptor PartitionStorageDescriptor
A storage descriptor object containing information about the physical storage of this table. You can refer to the Glue Developer Guide for a full explanation of this object.
databaseName
This property is required.
Changes to this property will trigger replacement.
string
Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
partitionValues
This property is required.
Changes to this property will trigger replacement.
string[]
The values that define the partition.
tableName
This property is required.
Changes to this property will trigger replacement.
string
catalogId Changes to this property will trigger replacement. string
ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
parameters {[key: string]: string}
Properties associated with this table, as a list of key-value pairs.
storageDescriptor PartitionStorageDescriptor
A storage descriptor object containing information about the physical storage of this table. You can refer to the Glue Developer Guide for a full explanation of this object.
database_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
partition_values
This property is required.
Changes to this property will trigger replacement.
Sequence[str]
The values that define the partition.
table_name
This property is required.
Changes to this property will trigger replacement.
str
catalog_id Changes to this property will trigger replacement. str
ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
parameters Mapping[str, str]
Properties associated with this table, as a list of key-value pairs.
storage_descriptor PartitionStorageDescriptorArgs
A storage descriptor object containing information about the physical storage of this table. You can refer to the Glue Developer Guide for a full explanation of this object.
databaseName
This property is required.
Changes to this property will trigger replacement.
String
Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
partitionValues
This property is required.
Changes to this property will trigger replacement.
List<String>
The values that define the partition.
tableName
This property is required.
Changes to this property will trigger replacement.
String
catalogId Changes to this property will trigger replacement. String
ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
parameters Map<String>
Properties associated with this table, as a list of key-value pairs.
storageDescriptor Property Map
A storage descriptor object containing information about the physical storage of this table. You can refer to the Glue Developer Guide for a full explanation of this object.

Outputs

All input properties are implicitly available as output properties. Additionally, the Partition resource produces the following output properties:

CreationTime string
The time at which the partition was created.
Id string
The provider-assigned unique ID for this managed resource.
LastAccessedTime string
The last time at which the partition was accessed.
LastAnalyzedTime string
The last time at which column statistics were computed for this partition.
CreationTime string
The time at which the partition was created.
Id string
The provider-assigned unique ID for this managed resource.
LastAccessedTime string
The last time at which the partition was accessed.
LastAnalyzedTime string
The last time at which column statistics were computed for this partition.
creationTime String
The time at which the partition was created.
id String
The provider-assigned unique ID for this managed resource.
lastAccessedTime String
The last time at which the partition was accessed.
lastAnalyzedTime String
The last time at which column statistics were computed for this partition.
creationTime string
The time at which the partition was created.
id string
The provider-assigned unique ID for this managed resource.
lastAccessedTime string
The last time at which the partition was accessed.
lastAnalyzedTime string
The last time at which column statistics were computed for this partition.
creation_time str
The time at which the partition was created.
id str
The provider-assigned unique ID for this managed resource.
last_accessed_time str
The last time at which the partition was accessed.
last_analyzed_time str
The last time at which column statistics were computed for this partition.
creationTime String
The time at which the partition was created.
id String
The provider-assigned unique ID for this managed resource.
lastAccessedTime String
The last time at which the partition was accessed.
lastAnalyzedTime String
The last time at which column statistics were computed for this partition.

Look up Existing Partition Resource

Get an existing Partition resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: PartitionState, opts?: CustomResourceOptions): Partition
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        catalog_id: Optional[str] = None,
        creation_time: Optional[str] = None,
        database_name: Optional[str] = None,
        last_accessed_time: Optional[str] = None,
        last_analyzed_time: Optional[str] = None,
        parameters: Optional[Mapping[str, str]] = None,
        partition_values: Optional[Sequence[str]] = None,
        storage_descriptor: Optional[PartitionStorageDescriptorArgs] = None,
        table_name: Optional[str] = None) -> Partition
func GetPartition(ctx *Context, name string, id IDInput, state *PartitionState, opts ...ResourceOption) (*Partition, error)
public static Partition Get(string name, Input<string> id, PartitionState? state, CustomResourceOptions? opts = null)
public static Partition get(String name, Output<String> id, PartitionState state, CustomResourceOptions options)
resources:  _:    type: aws:glue:Partition    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CatalogId Changes to this property will trigger replacement. string
ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
CreationTime string
The time at which the partition was created.
DatabaseName Changes to this property will trigger replacement. string
Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
LastAccessedTime string
The last time at which the partition was accessed.
LastAnalyzedTime string
The last time at which column statistics were computed for this partition.
Parameters Dictionary<string, string>
Properties associated with this table, as a list of key-value pairs.
PartitionValues Changes to this property will trigger replacement. List<string>
The values that define the partition.
StorageDescriptor PartitionStorageDescriptor
A storage descriptor object containing information about the physical storage of this table. You can refer to the Glue Developer Guide for a full explanation of this object.
TableName Changes to this property will trigger replacement. string
CatalogId Changes to this property will trigger replacement. string
ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
CreationTime string
The time at which the partition was created.
DatabaseName Changes to this property will trigger replacement. string
Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
LastAccessedTime string
The last time at which the partition was accessed.
LastAnalyzedTime string
The last time at which column statistics were computed for this partition.
Parameters map[string]string
Properties associated with this table, as a list of key-value pairs.
PartitionValues Changes to this property will trigger replacement. []string
The values that define the partition.
StorageDescriptor PartitionStorageDescriptorArgs
A storage descriptor object containing information about the physical storage of this table. You can refer to the Glue Developer Guide for a full explanation of this object.
TableName Changes to this property will trigger replacement. string
catalogId Changes to this property will trigger replacement. String
ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
creationTime String
The time at which the partition was created.
databaseName Changes to this property will trigger replacement. String
Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
lastAccessedTime String
The last time at which the partition was accessed.
lastAnalyzedTime String
The last time at which column statistics were computed for this partition.
parameters Map<String,String>
Properties associated with this table, as a list of key-value pairs.
partitionValues Changes to this property will trigger replacement. List<String>
The values that define the partition.
storageDescriptor PartitionStorageDescriptor
A storage descriptor object containing information about the physical storage of this table. You can refer to the Glue Developer Guide for a full explanation of this object.
tableName Changes to this property will trigger replacement. String
catalogId Changes to this property will trigger replacement. string
ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
creationTime string
The time at which the partition was created.
databaseName Changes to this property will trigger replacement. string
Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
lastAccessedTime string
The last time at which the partition was accessed.
lastAnalyzedTime string
The last time at which column statistics were computed for this partition.
parameters {[key: string]: string}
Properties associated with this table, as a list of key-value pairs.
partitionValues Changes to this property will trigger replacement. string[]
The values that define the partition.
storageDescriptor PartitionStorageDescriptor
A storage descriptor object containing information about the physical storage of this table. You can refer to the Glue Developer Guide for a full explanation of this object.
tableName Changes to this property will trigger replacement. string
catalog_id Changes to this property will trigger replacement. str
ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
creation_time str
The time at which the partition was created.
database_name Changes to this property will trigger replacement. str
Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
last_accessed_time str
The last time at which the partition was accessed.
last_analyzed_time str
The last time at which column statistics were computed for this partition.
parameters Mapping[str, str]
Properties associated with this table, as a list of key-value pairs.
partition_values Changes to this property will trigger replacement. Sequence[str]
The values that define the partition.
storage_descriptor PartitionStorageDescriptorArgs
A storage descriptor object containing information about the physical storage of this table. You can refer to the Glue Developer Guide for a full explanation of this object.
table_name Changes to this property will trigger replacement. str
catalogId Changes to this property will trigger replacement. String
ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
creationTime String
The time at which the partition was created.
databaseName Changes to this property will trigger replacement. String
Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
lastAccessedTime String
The last time at which the partition was accessed.
lastAnalyzedTime String
The last time at which column statistics were computed for this partition.
parameters Map<String>
Properties associated with this table, as a list of key-value pairs.
partitionValues Changes to this property will trigger replacement. List<String>
The values that define the partition.
storageDescriptor Property Map
A storage descriptor object containing information about the physical storage of this table. You can refer to the Glue Developer Guide for a full explanation of this object.
tableName Changes to this property will trigger replacement. String

Supporting Types

PartitionStorageDescriptor
, PartitionStorageDescriptorArgs

AdditionalLocations List<string>
List of locations that point to the path where a Delta table is located.
BucketColumns List<string>
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
Columns List<PartitionStorageDescriptorColumn>
A list of the Columns in the table.
Compressed bool
True if the data in the table is compressed, or False if not.
InputFormat string
The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
Location string
The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
NumberOfBuckets int
Must be specified if the table contains any dimension columns.
OutputFormat string
The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
Parameters Dictionary<string, string>
User-supplied properties in key-value form.
SerDeInfo PartitionStorageDescriptorSerDeInfo
Serialization/deserialization (SerDe) information.
SkewedInfo PartitionStorageDescriptorSkewedInfo
Information about values that appear very frequently in a column (skewed values).
SortColumns List<PartitionStorageDescriptorSortColumn>
A list of Order objects specifying the sort order of each bucket in the table.
StoredAsSubDirectories bool
True if the table data is stored in subdirectories, or False if not.
AdditionalLocations []string
List of locations that point to the path where a Delta table is located.
BucketColumns []string
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
Columns []PartitionStorageDescriptorColumn
A list of the Columns in the table.
Compressed bool
True if the data in the table is compressed, or False if not.
InputFormat string
The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
Location string
The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
NumberOfBuckets int
Must be specified if the table contains any dimension columns.
OutputFormat string
The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
Parameters map[string]string
User-supplied properties in key-value form.
SerDeInfo PartitionStorageDescriptorSerDeInfo
Serialization/deserialization (SerDe) information.
SkewedInfo PartitionStorageDescriptorSkewedInfo
Information about values that appear very frequently in a column (skewed values).
SortColumns []PartitionStorageDescriptorSortColumn
A list of Order objects specifying the sort order of each bucket in the table.
StoredAsSubDirectories bool
True if the table data is stored in subdirectories, or False if not.
additionalLocations List<String>
List of locations that point to the path where a Delta table is located.
bucketColumns List<String>
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
columns List<PartitionStorageDescriptorColumn>
A list of the Columns in the table.
compressed Boolean
True if the data in the table is compressed, or False if not.
inputFormat String
The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
location String
The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
numberOfBuckets Integer
Must be specified if the table contains any dimension columns.
outputFormat String
The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
parameters Map<String,String>
User-supplied properties in key-value form.
serDeInfo PartitionStorageDescriptorSerDeInfo
Serialization/deserialization (SerDe) information.
skewedInfo PartitionStorageDescriptorSkewedInfo
Information about values that appear very frequently in a column (skewed values).
sortColumns List<PartitionStorageDescriptorSortColumn>
A list of Order objects specifying the sort order of each bucket in the table.
storedAsSubDirectories Boolean
True if the table data is stored in subdirectories, or False if not.
additionalLocations string[]
List of locations that point to the path where a Delta table is located.
bucketColumns string[]
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
columns PartitionStorageDescriptorColumn[]
A list of the Columns in the table.
compressed boolean
True if the data in the table is compressed, or False if not.
inputFormat string
The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
location string
The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
numberOfBuckets number
Must be specified if the table contains any dimension columns.
outputFormat string
The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
parameters {[key: string]: string}
User-supplied properties in key-value form.
serDeInfo PartitionStorageDescriptorSerDeInfo
Serialization/deserialization (SerDe) information.
skewedInfo PartitionStorageDescriptorSkewedInfo
Information about values that appear very frequently in a column (skewed values).
sortColumns PartitionStorageDescriptorSortColumn[]
A list of Order objects specifying the sort order of each bucket in the table.
storedAsSubDirectories boolean
True if the table data is stored in subdirectories, or False if not.
additional_locations Sequence[str]
List of locations that point to the path where a Delta table is located.
bucket_columns Sequence[str]
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
columns Sequence[PartitionStorageDescriptorColumn]
A list of the Columns in the table.
compressed bool
True if the data in the table is compressed, or False if not.
input_format str
The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
location str
The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
number_of_buckets int
Must be specified if the table contains any dimension columns.
output_format str
The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
parameters Mapping[str, str]
User-supplied properties in key-value form.
ser_de_info PartitionStorageDescriptorSerDeInfo
Serialization/deserialization (SerDe) information.
skewed_info PartitionStorageDescriptorSkewedInfo
Information about values that appear very frequently in a column (skewed values).
sort_columns Sequence[PartitionStorageDescriptorSortColumn]
A list of Order objects specifying the sort order of each bucket in the table.
stored_as_sub_directories bool
True if the table data is stored in subdirectories, or False if not.
additionalLocations List<String>
List of locations that point to the path where a Delta table is located.
bucketColumns List<String>
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
columns List<Property Map>
A list of the Columns in the table.
compressed Boolean
True if the data in the table is compressed, or False if not.
inputFormat String
The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
location String
The physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
numberOfBuckets Number
Must be specified if the table contains any dimension columns.
outputFormat String
The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
parameters Map<String>
User-supplied properties in key-value form.
serDeInfo Property Map
Serialization/deserialization (SerDe) information.
skewedInfo Property Map
Information about values that appear very frequently in a column (skewed values).
sortColumns List<Property Map>
A list of Order objects specifying the sort order of each bucket in the table.
storedAsSubDirectories Boolean
True if the table data is stored in subdirectories, or False if not.

PartitionStorageDescriptorColumn
, PartitionStorageDescriptorColumnArgs

Name This property is required. string
Comment string
Free-form text comment.
Type string
The datatype of data in the Column.
Name This property is required. string
Comment string
Free-form text comment.
Type string
The datatype of data in the Column.
name This property is required. String
comment String
Free-form text comment.
type String
The datatype of data in the Column.
name This property is required. string
comment string
Free-form text comment.
type string
The datatype of data in the Column.
name This property is required. str
comment str
Free-form text comment.
type str
The datatype of data in the Column.
name This property is required. String
comment String
Free-form text comment.
type String
The datatype of data in the Column.

PartitionStorageDescriptorSerDeInfo
, PartitionStorageDescriptorSerDeInfoArgs

Name string
Name of the SerDe.
Parameters Dictionary<string, string>
A map of initialization parameters for the SerDe, in key-value form.
SerializationLibrary string
Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
Name string
Name of the SerDe.
Parameters map[string]string
A map of initialization parameters for the SerDe, in key-value form.
SerializationLibrary string
Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
name String
Name of the SerDe.
parameters Map<String,String>
A map of initialization parameters for the SerDe, in key-value form.
serializationLibrary String
Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
name string
Name of the SerDe.
parameters {[key: string]: string}
A map of initialization parameters for the SerDe, in key-value form.
serializationLibrary string
Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
name str
Name of the SerDe.
parameters Mapping[str, str]
A map of initialization parameters for the SerDe, in key-value form.
serialization_library str
Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
name String
Name of the SerDe.
parameters Map<String>
A map of initialization parameters for the SerDe, in key-value form.
serializationLibrary String
Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.

PartitionStorageDescriptorSkewedInfo
, PartitionStorageDescriptorSkewedInfoArgs

SkewedColumnNames List<string>
A list of names of columns that contain skewed values.
SkewedColumnValueLocationMaps Dictionary<string, string>
A list of values that appear so frequently as to be considered skewed.
SkewedColumnValues List<string>
A map of skewed values to the columns that contain them.
SkewedColumnNames []string
A list of names of columns that contain skewed values.
SkewedColumnValueLocationMaps map[string]string
A list of values that appear so frequently as to be considered skewed.
SkewedColumnValues []string
A map of skewed values to the columns that contain them.
skewedColumnNames List<String>
A list of names of columns that contain skewed values.
skewedColumnValueLocationMaps Map<String,String>
A list of values that appear so frequently as to be considered skewed.
skewedColumnValues List<String>
A map of skewed values to the columns that contain them.
skewedColumnNames string[]
A list of names of columns that contain skewed values.
skewedColumnValueLocationMaps {[key: string]: string}
A list of values that appear so frequently as to be considered skewed.
skewedColumnValues string[]
A map of skewed values to the columns that contain them.
skewed_column_names Sequence[str]
A list of names of columns that contain skewed values.
skewed_column_value_location_maps Mapping[str, str]
A list of values that appear so frequently as to be considered skewed.
skewed_column_values Sequence[str]
A map of skewed values to the columns that contain them.
skewedColumnNames List<String>
A list of names of columns that contain skewed values.
skewedColumnValueLocationMaps Map<String>
A list of values that appear so frequently as to be considered skewed.
skewedColumnValues List<String>
A map of skewed values to the columns that contain them.

PartitionStorageDescriptorSortColumn
, PartitionStorageDescriptorSortColumnArgs

Column This property is required. string
The name of the column.
SortOrder This property is required. int
Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).
Column This property is required. string
The name of the column.
SortOrder This property is required. int
Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).
column This property is required. String
The name of the column.
sortOrder This property is required. Integer
Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).
column This property is required. string
The name of the column.
sortOrder This property is required. number
Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).
column This property is required. str
The name of the column.
sort_order This property is required. int
Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).
column This property is required. String
The name of the column.
sortOrder This property is required. Number
Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).

Import

Using pulumi import, import Glue Partitions using the catalog ID (usually AWS account ID), database name, table name and partition values. For example:

$ pulumi import aws:glue/partition:Partition part 123456789012:MyDatabase:MyTable:val1#val2
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.