TableTimePartitioning

data class TableTimePartitioning(val expirationMs: Int? = null, val field: String? = null, val requirePartitionFilter: Boolean? = null, val type: String)

Constructors

Link copied to clipboard
constructor(expirationMs: Int? = null, field: String? = null, requirePartitionFilter: Boolean? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val expirationMs: Int? = null

Number of milliseconds for which to keep the storage for a partition.

Link copied to clipboard
val field: String? = null

The field used to determine how to create a time-based partition. If time-based partitioning is enabled without this value, the table is partitioned based on the load time.

Link copied to clipboard

If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified.

Link copied to clipboard

The supported types are DAY, HOUR, MONTH, and YEAR, which will generate one partition per day, hour, month, and year, respectively.