Skip to main content
Version: Next

PartitionMappingPreviewSchema

is_monotonicboolean

Whether the owner has declared the transform order-preserving. Range operators only mirror when they have.

Default value: false
mapped_columnstringrequired

Column whose filters would be mirrored

operatorstring

Filter operator being mirrored. Only operators that can be mirrored at all are accepted.

Possible values: [<, <=, ==, >, >=, IN, TEMPORAL_RANGE]

Default value: ==
partition_columnstringnullable

Candidate partition column. The editor previews a mapping before it is saved, so this overrides the stored value; omitted, the stored one is used.

Default value: null
sample_valuesstring[]required

Values to evaluate the transform at. A comparison operator takes one; IN takes the whole list.

Possible values: >= 1, <= 50

value_transformstringnullablerequired

SQL expression containing a :value placeholder

PartitionMappingPreviewSchema
{
"is_monotonic": false,
"mapped_column": "string",
"operator": "==",
"partition_column": null,
"sample_values": [
"string"
],
"value_transform": "string"
}