Interface CfnPartitionPropsMixin.IPartitionInputProperty
The structure used to create and update a partition.
Namespace: Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnPartitionPropsMixin.IPartitionInputProperty
Syntax (vb)
Public Interface CfnPartitionPropsMixin.IPartitionInputProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins;
var parameters;
var skewedColumnValueLocationMaps;
var partitionInputProperty = new PartitionInputProperty {
Parameters = parameters,
StorageDescriptor = new StorageDescriptorProperty {
BucketColumns = new [] { "bucketColumns" },
Columns = new [] { new ColumnProperty {
Comment = "comment",
Name = "name",
Type = "type"
} },
Compressed = false,
InputFormat = "inputFormat",
Location = "location",
NumberOfBuckets = 123,
OutputFormat = "outputFormat",
Parameters = parameters,
SchemaReference = new SchemaReferenceProperty {
SchemaId = new SchemaIdProperty {
RegistryName = "registryName",
SchemaArn = "schemaArn",
SchemaName = "schemaName"
},
SchemaVersionId = "schemaVersionId",
SchemaVersionNumber = 123
},
SerdeInfo = new SerdeInfoProperty {
Name = "name",
Parameters = parameters,
SerializationLibrary = "serializationLibrary"
},
SkewedInfo = new SkewedInfoProperty {
SkewedColumnNames = new [] { "skewedColumnNames" },
SkewedColumnValueLocationMaps = skewedColumnValueLocationMaps,
SkewedColumnValues = new [] { "skewedColumnValues" }
},
SortColumns = new [] { new OrderProperty {
Column = "column",
SortOrder = 123
} },
StoredAsSubDirectories = false
},
Values = new [] { "values" }
};
Synopsis
Properties
| Parameters | These key-value pairs define partition parameters. |
| StorageDescriptor | Provides information about the physical location where the partition is stored. |
| Values | The values of the partition. |
Properties
Parameters
These key-value pairs define partition parameters.
object? Parameters { get; }
Property Value
Remarks
StorageDescriptor
Provides information about the physical location where the partition is stored.
object? StorageDescriptor { get; }
Property Value
Remarks
Values
The values of the partition.
string[]? Values { get; }
Property Value
string[]
Remarks
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.