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
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 string
- The unique name of the resource.
- args PartitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args PartitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PartitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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
{
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,
},
});
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{
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),
},
})
var partitionResource = new Partition("partitionResource", PartitionArgs.builder()
.databaseName("string")
.partitionValues("string")
.tableName("string")
.catalogId("string")
.parameters(Map.of("string", "string"))
.storageDescriptor(PartitionStorageDescriptorArgs.builder()
.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());
partition_resource = aws.glue.Partition("partitionResource",
database_name="string",
partition_values=["string"],
table_name="string",
catalog_id="string",
parameters={
"string": "string",
},
storage_descriptor={
"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,
})
const partitionResource = new aws.glue.Partition("partitionResource", {
databaseName: "string",
partitionValues: ["string"],
tableName: "string",
catalogId: "string",
parameters: {
string: "string",
},
storageDescriptor: {
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,
},
});
type: aws:glue:Partition
properties:
catalogId: string
databaseName: string
parameters:
string: string
partitionValues:
- string
storageDescriptor:
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
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:
- Database
Name string - Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- Partition
Values List<string> - The values that define the partition.
- Table
Name string - Catalog
Id 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.
- Storage
Descriptor PartitionStorage Descriptor - 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 string - Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- Partition
Values []string - The values that define the partition.
- Table
Name string - Catalog
Id 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.
- Storage
Descriptor PartitionStorage Descriptor Args - 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 String - Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- partition
Values List<String> - The values that define the partition.
- table
Name String - catalog
Id 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.
- storage
Descriptor PartitionStorage Descriptor - 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 string - Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- partition
Values string[] - The values that define the partition.
- table
Name string - catalog
Id 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.
- storage
Descriptor PartitionStorage Descriptor - 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 str - Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- partition_
values Sequence[str] - The values that define the partition.
- table_
name str - catalog_
id 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 PartitionStorage Descriptor Args - 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 String - Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- partition
Values List<String> - The values that define the partition.
- table
Name String - catalog
Id 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.
- storage
Descriptor 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:
- Creation
Time string - The time at which the partition was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Accessed stringTime - The last time at which the partition was accessed.
- Last
Analyzed stringTime - The last time at which column statistics were computed for this partition.
- Creation
Time string - The time at which the partition was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Accessed stringTime - The last time at which the partition was accessed.
- Last
Analyzed stringTime - The last time at which column statistics were computed for this partition.
- creation
Time String - The time at which the partition was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Accessed StringTime - The last time at which the partition was accessed.
- last
Analyzed StringTime - The last time at which column statistics were computed for this partition.
- creation
Time string - The time at which the partition was created.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Accessed stringTime - The last time at which the partition was accessed.
- last
Analyzed stringTime - 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_ strtime - The last time at which the partition was accessed.
- last_
analyzed_ strtime - The last time at which column statistics were computed for this partition.
- creation
Time String - The time at which the partition was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Accessed StringTime - The last time at which the partition was accessed.
- last
Analyzed StringTime - 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Catalog
Id 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.
- Creation
Time string - The time at which the partition was created.
- Database
Name string - Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- Last
Accessed stringTime - The last time at which the partition was accessed.
- Last
Analyzed stringTime - 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.
- Partition
Values List<string> - The values that define the partition.
- Storage
Descriptor PartitionStorage Descriptor - 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 string
- Catalog
Id 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.
- Creation
Time string - The time at which the partition was created.
- Database
Name string - Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- Last
Accessed stringTime - The last time at which the partition was accessed.
- Last
Analyzed stringTime - 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.
- Partition
Values []string - The values that define the partition.
- Storage
Descriptor PartitionStorage Descriptor Args - 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 string
- catalog
Id 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.
- creation
Time String - The time at which the partition was created.
- database
Name String - Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- last
Accessed StringTime - The last time at which the partition was accessed.
- last
Analyzed StringTime - 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.
- partition
Values List<String> - The values that define the partition.
- storage
Descriptor PartitionStorage Descriptor - 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 String
- catalog
Id 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.
- creation
Time string - The time at which the partition was created.
- database
Name string - Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- last
Accessed stringTime - The last time at which the partition was accessed.
- last
Analyzed stringTime - 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.
- partition
Values string[] - The values that define the partition.
- storage
Descriptor PartitionStorage Descriptor - 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 string
- catalog_
id 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 str - Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- last_
accessed_ strtime - The last time at which the partition was accessed.
- last_
analyzed_ strtime - 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 Sequence[str] - The values that define the partition.
- storage_
descriptor PartitionStorage Descriptor Args - 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 str
- catalog
Id 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.
- creation
Time String - The time at which the partition was created.
- database
Name String - Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
- last
Accessed StringTime - The last time at which the partition was accessed.
- last
Analyzed StringTime - 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.
- partition
Values List<String> - The values that define the partition.
- storage
Descriptor 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.
- table
Name String
Supporting Types
PartitionStorageDescriptor, PartitionStorageDescriptorArgs
- Bucket
Columns List<string> - A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
- Columns
List<Partition
Storage Descriptor Column> - 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 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.
- Number
Of intBuckets - Must be specified if the table contains any dimension columns.
- Output
Format string - The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- Parameters Dictionary<string, string>
- User-supplied properties in key-value form.
- Ser
De PartitionInfo Storage Descriptor Ser De Info - Serialization/deserialization (SerDe) information.
- Skewed
Info PartitionStorage Descriptor Skewed Info - Information about values that appear very frequently in a column (skewed values).
- Sort
Columns List<PartitionStorage Descriptor Sort Column> - A list of Order objects specifying the sort order of each bucket in the table.
- Stored
As boolSub Directories - True if the table data is stored in subdirectories, or False if not.
- Bucket
Columns []string - A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
- Columns
[]Partition
Storage Descriptor Column - 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 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.
- Number
Of intBuckets - Must be specified if the table contains any dimension columns.
- Output
Format string - The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- Parameters map[string]string
- User-supplied properties in key-value form.
- Ser
De PartitionInfo Storage Descriptor Ser De Info - Serialization/deserialization (SerDe) information.
- Skewed
Info PartitionStorage Descriptor Skewed Info - Information about values that appear very frequently in a column (skewed values).
- Sort
Columns []PartitionStorage Descriptor Sort Column - A list of Order objects specifying the sort order of each bucket in the table.
- Stored
As boolSub Directories - True if the table data is stored in subdirectories, or False if not.
- bucket
Columns List<String> - A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
- columns
List<Partition
Storage Descriptor Column> - A list of the Columns in the table.
- compressed Boolean
- True if the data in the table is compressed, or False if not.
- input
Format 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.
- number
Of IntegerBuckets - Must be specified if the table contains any dimension columns.
- output
Format String - The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- parameters Map<String,String>
- User-supplied properties in key-value form.
- ser
De PartitionInfo Storage Descriptor Ser De Info - Serialization/deserialization (SerDe) information.
- skewed
Info PartitionStorage Descriptor Skewed Info - Information about values that appear very frequently in a column (skewed values).
- sort
Columns List<PartitionStorage Descriptor Sort Column> - A list of Order objects specifying the sort order of each bucket in the table.
- stored
As BooleanSub Directories - True if the table data is stored in subdirectories, or False if not.
- bucket
Columns string[] - A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
- columns
Partition
Storage Descriptor Column[] - A list of the Columns in the table.
- compressed boolean
- True if the data in the table is compressed, or False if not.
- input
Format 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.
- number
Of numberBuckets - Must be specified if the table contains any dimension columns.
- output
Format string - The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- parameters {[key: string]: string}
- User-supplied properties in key-value form.
- ser
De PartitionInfo Storage Descriptor Ser De Info - Serialization/deserialization (SerDe) information.
- skewed
Info PartitionStorage Descriptor Skewed Info - Information about values that appear very frequently in a column (skewed values).
- sort
Columns PartitionStorage Descriptor Sort Column[] - A list of Order objects specifying the sort order of each bucket in the table.
- stored
As booleanSub Directories - True if the table data is stored in subdirectories, or False if not.
- bucket_
columns Sequence[str] - A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
- columns
Sequence[Partition
Storage Descriptor Column] - 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_ intbuckets - 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_ Partitioninfo Storage Descriptor Ser De Info - Serialization/deserialization (SerDe) information.
- skewed_
info PartitionStorage Descriptor Skewed Info - Information about values that appear very frequently in a column (skewed values).
- sort_
columns Sequence[PartitionStorage Descriptor Sort Column] - A list of Order objects specifying the sort order of each bucket in the table.
- stored_
as_ boolsub_ directories - True if the table data is stored in subdirectories, or False if not.
- bucket
Columns 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.
- input
Format 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.
- number
Of NumberBuckets - Must be specified if the table contains any dimension columns.
- output
Format String - The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- parameters Map<String>
- User-supplied properties in key-value form.
- ser
De Property MapInfo - Serialization/deserialization (SerDe) information.
- skewed
Info Property Map - Information about values that appear very frequently in a column (skewed values).
- sort
Columns List<Property Map> - A list of Order objects specifying the sort order of each bucket in the table.
- stored
As BooleanSub Directories - True if the table data is stored in subdirectories, or False if not.
PartitionStorageDescriptorColumn, PartitionStorageDescriptorColumnArgs
PartitionStorageDescriptorSerDeInfo, PartitionStorageDescriptorSerDeInfoArgs
- Name string
- Name of the SerDe.
- Parameters Dictionary<string, string>
- A map of initialization parameters for the SerDe, in key-value form.
- Serialization
Library 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.
- Serialization
Library 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.
- serialization
Library 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.
- serialization
Library 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.
- serialization
Library String - Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
PartitionStorageDescriptorSkewedInfo, PartitionStorageDescriptorSkewedInfoArgs
- Skewed
Column List<string>Names - A list of names of columns that contain skewed values.
- Skewed
Column Dictionary<string, string>Value Location Maps - A list of values that appear so frequently as to be considered skewed.
- Skewed
Column List<string>Values - A map of skewed values to the columns that contain them.
- Skewed
Column []stringNames - A list of names of columns that contain skewed values.
- Skewed
Column map[string]stringValue Location Maps - A list of values that appear so frequently as to be considered skewed.
- Skewed
Column []stringValues - A map of skewed values to the columns that contain them.
- skewed
Column List<String>Names - A list of names of columns that contain skewed values.
- skewed
Column Map<String,String>Value Location Maps - A list of values that appear so frequently as to be considered skewed.
- skewed
Column List<String>Values - A map of skewed values to the columns that contain them.
- skewed
Column string[]Names - A list of names of columns that contain skewed values.
- skewed
Column {[key: string]: string}Value Location Maps - A list of values that appear so frequently as to be considered skewed.
- skewed
Column string[]Values - A map of skewed values to the columns that contain them.
- skewed_
column_ Sequence[str]names - A list of names of columns that contain skewed values.
- skewed_
column_ Mapping[str, str]value_ location_ maps - A list of values that appear so frequently as to be considered skewed.
- skewed_
column_ Sequence[str]values - A map of skewed values to the columns that contain them.
- skewed
Column List<String>Names - A list of names of columns that contain skewed values.
- skewed
Column Map<String>Value Location Maps - A list of values that appear so frequently as to be considered skewed.
- skewed
Column List<String>Values - A map of skewed values to the columns that contain them.
PartitionStorageDescriptorSortColumn, PartitionStorageDescriptorSortColumnArgs
- column str
- The name of the column.
- sort_
order int - 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
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.