TimePartitioningArgs

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

Constructors

Link copied to clipboard
fun TimePartitioningArgs(expirationMs: Output<String>? = null, field: Output<String>? = null, requirePartitionFilter: Output<Boolean>? = null, type: Output<String>? = null)

Functions

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

Properties

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

Optional Number of milliseconds for which to keep the storage for partitions in the table. The storage in a partition will have an expiration time of its partition time plus this value.

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

Optional If not set, the table is partitioned by pseudo column, referenced via either '_PARTITIONTIME' as TIMESTAMP type, or '_PARTITIONDATE' as DATE type. If field is specified, the table is instead partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED.

Link copied to clipboard
val requirePartitionFilter: Output<Boolean>? = null
Link copied to clipboard
val type: Output<String>? = null

Required The supported types are DAY, HOUR, MONTH, and YEAR, which will generate one partition per day, hour, month, and year, respectively. When the type is not specified, the default behavior is DAY.