interface PartitionInputProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins.CfnPartitionPropsMixin.PartitionInputProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsglue/mixins#CfnPartitionPropsMixin_PartitionInputProperty |
Java | software.amazon.awscdk.mixins.preview.services.glue.mixins.CfnPartitionPropsMixin.PartitionInputProperty |
Python | aws_cdk.mixins_preview.aws_glue.mixins.CfnPartitionPropsMixin.PartitionInputProperty |
TypeScript | @aws-cdk/mixins-preview » aws_glue » mixins » CfnPartitionPropsMixin » PartitionInputProperty |
The structure used to create and update a partition.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as glue_mixins } from '@aws-cdk/mixins-preview/aws-glue';
declare const parameters: any;
declare const skewedColumnValueLocationMaps: any;
const partitionInputProperty: glue_mixins.CfnPartitionPropsMixin.PartitionInputProperty = {
parameters: parameters,
storageDescriptor: {
bucketColumns: ['bucketColumns'],
columns: [{
comment: 'comment',
name: 'name',
type: 'type',
}],
compressed: false,
inputFormat: 'inputFormat',
location: 'location',
numberOfBuckets: 123,
outputFormat: 'outputFormat',
parameters: parameters,
schemaReference: {
schemaId: {
registryName: 'registryName',
schemaArn: 'schemaArn',
schemaName: 'schemaName',
},
schemaVersionId: 'schemaVersionId',
schemaVersionNumber: 123,
},
serdeInfo: {
name: 'name',
parameters: parameters,
serializationLibrary: 'serializationLibrary',
},
skewedInfo: {
skewedColumnNames: ['skewedColumnNames'],
skewedColumnValueLocationMaps: skewedColumnValueLocationMaps,
skewedColumnValues: ['skewedColumnValues'],
},
sortColumns: [{
column: 'column',
sortOrder: 123,
}],
storedAsSubDirectories: false,
},
values: ['values'],
};
Properties
| Name | Type | Description |
|---|---|---|
| parameters? | any | These key-value pairs define partition parameters. |
| storage | IResolvable | Storage | Provides information about the physical location where the partition is stored. |
| values? | string[] | The values of the partition. |
parameters?
Type:
any
(optional)
These key-value pairs define partition parameters.
storageDescriptor?
Type:
IResolvable | Storage
(optional)
Provides information about the physical location where the partition is stored.
values?
Type:
string[]
(optional)
The values of the partition.
Although this parameter is not required by the SDK, you must specify this parameter for a valid input.
The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise AWS Glue will add the values to the wrong keys.

.NET
Go
Java
Python
TypeScript