Interface CfnPartition.IPartitionInputProperty
The structure used to create and update a partition.
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IPartitionInputProperty
Syntax (vb)
Public Interface 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.AWS.Glue;
var parameters;
var skewedColumnValueLocationMaps;
var partitionInputProperty = new PartitionInputProperty {
Values = new [] { "values" },
// the properties below are optional
Parameters = parameters,
StorageDescriptor = new StorageDescriptorProperty {
BucketColumns = new [] { "bucketColumns" },
Columns = new [] { new ColumnProperty {
Name = "name",
// the properties below are optional
Comment = "comment",
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",
// the properties below are optional
SortOrder = 123
} },
StoredAsSubDirectories = false
}
};
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.
virtual object Parameters { get; }
Property Value
System.Object
Remarks
StorageDescriptor
Provides information about the physical location where the partition is stored.
virtual object StorageDescriptor { get; }
Property Value
System.Object
Remarks
Values
The values of the partition.
string[] Values { get; }
Property Value
System.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.