JobLoadTimePartitioningArgs

data class JobLoadTimePartitioningArgs(val expirationMs: Output<String>? = null, val field: Output<String>? = null, val type: Output<String>) : ConvertibleToJava<JobLoadTimePartitioningArgs>

Constructors

Link copied to clipboard
constructor(expirationMs: Output<String>? = null, field: Output<String>? = null, type: Output<String>)

Properties

Link copied to clipboard
val expirationMs: Output<String>? = null

Number of milliseconds for which to keep the storage for a partition. A wrapper is used here because 0 is an invalid value.

Link copied to clipboard
val field: Output<String>? = null

If not set, the table is partitioned by pseudo column '_PARTITIONTIME'; if set, the table is partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED. A wrapper is used here because an empty string is an invalid value.

Link copied to clipboard
val type: Output<String>

The only type supported is DAY, which will generate one partition per day. Providing an empty string used to cause an error, but in OnePlatform the field will be treated as unset.

Functions

Link copied to clipboard
open override fun toJava(): JobLoadTimePartitioningArgs