Table
Identifies the data to read through a connection and defines the columns and key Prokrust uses for those rows.
data.prokrust.ai/v1beta1 · Namespaced · tables
Example
This part of a table definition selects a dataset through a connection in the same workspace.
spec:
source:
connectionRef:
apiVersion: sources.prokrust.ai/v1beta1
kind: SyntheticConnection
name: fixture
selector:
schemaVersion: v1
config:
dataset: events
Copy the API version, kind, and name from the connection into connectionRef. The selector version identifies the schema for config. Here the synthetic connector accepts one dataset, events. To select a different object or table with another provider, use its selector keys. Source selector examples · Synthetic selector
Controller status
Conditions
Controller checks for this resource. Read the type, status, reason, and observed generation to diagnose the current state.
| Condition | What it tells you |
|---|---|
Accepted | Reports the validation result for the current table definition. |
DependenciesReady | Reports whether the operator resolved the source connection, policy, and artifact storage. |
Ready | Reports whether the current table definition has been published. A TableSnapshot records a read from that source. |
A failed definition can clear status.artifact. Check the generation and digest in status.previousReady before using a retained definition.
When the source connector is pending
The operator cannot publish this table while the source runtime or certificate is unavailable.
status:
diagnostics:
- code: CONNECTOR_DEPENDENCY_PENDING
message: The connector runtime or certificate is not ready yet; retrying automatically.
conditions:
- type: Ready
status: "False"
reason: ReconciliationFailed
message: The connector runtime or certificate is not ready yet; retrying automatically.
observedGeneration: 2
Inspect the connection in the table’s namespace. Check its runtime readiness and certificate, then look for Ready=True on the current table generation.
Table condition results and reasons
Accepted
| Status and reason | What to check |
|---|---|
False / InvalidSpec | Read the TABLE_INVALID diagnostic. Check the named key, column, time policy, or conversion rule. |
True / ValidSpec | The operator accepted the table definition. Check the publication result under Ready. |
Unknown / NotEvaluated | An earlier operation failed. Read the diagnostic before changing the table definition. |
DependenciesReady
| Status and reason | What to check |
|---|---|
False / ArtifactAuthorizationDenied | Check the artifact access binding and the controller identity named in the diagnostic. |
True / Ready | The operator resolved the dependencies for publishing this definition. |
Unknown / NotEvaluated | Correct the invalid spec before checking its dependencies. |
Unknown / ReconciliationFailed | Read status.diagnostics to identify the failed read or dependency. For a pending connector, inspect its runtime and certificate. |
Ready
| Status and reason | What to check |
|---|---|
False / ArtifactAuthorizationDenied | Check the artifact access binding and the controller identity named in the diagnostic. |
False / Invalid | Read the TABLE_INVALID diagnostic. Check the named key, column, time policy, or conversion rule. |
False / PublicationFailed | Check artifact storage access. Publication can fail after validation and dependency resolution succeed. |
False / ReconciliationFailed | Read status.diagnostics to identify the failed read or dependency. For a pending connector, inspect its runtime and certificate. |
True / Ready | Use status.artifact for the published table definition, its resolved source identity, and column recipe. |
Condition field meanings
| Field | What to look for |
|---|---|
type | Names the check. Use it to select the condition you want to inspect. |
status | Reports whether the named condition holds. Read the reason to see why. |
reason | A short identifier for this outcome. Use it when comparing observations or filtering results. |
message | When present, gives details about this object, such as the name of a dependency. |
observedGeneration | Compare with metadata.generation to see which version of the spec the controller checked. |
lastTransitionTime | Records the time of the last transition for this condition. |
How to read status fields
| Field | What it tells you |
|---|---|
status.artifact | Published Table definition for the ready generation. It records the source identity and schema used to interpret the rows. |
status.diagnostics | Controller findings about this resource. Use the message and field, when available, to locate a validation or execution problem. |
status.lastReconcileTime | Time of the most recent reconciliation, when reported. Use the observed generation to check whether it covers the current spec. |
status.observedGeneration | Resource generation evaluated by the controller. Compare it with metadata.generation to check whether the status covers the current spec. |
status.phase | Current stage reported by the controller. Use the conditions or failure details to diagnose why progress stopped. |
status.previousReady | Retains the last successful definition when available. Check its generation and digest before using that artifact. |
status.semanticDigest | Digest of the interpreted definition. Check readiness and generation before using it to pin a dependent resource. |
Kubernetes schema for status
Required applies when the parent is present. A dash in the default column means the CRD declares no default.
| Field | Type | Required | Default | Schema constraints and descriptions |
|---|---|---|---|---|
status | object | no | — | maxProperties 1024 · nullable true |
status.artifact | object | no | — | Published Table definition for the ready generation. It records the source identity and schema used to interpret the rows. · maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991 |
status.artifact.digest | string | yes | — | SHA-256 digest of the artifact contents. Compare it with the downloaded bytes to verify the artifact. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" · self.matches('^sha256:[0-9a-f]{64}$') |
status.artifact.mediaType | string | yes | — | Use the recorded media type to identify the artifact representation. · maxLength 2048 |
status.artifact.sizeBytes | integer | yes | — | Use the published byte count when verifying a transferred artifact. · format "int64" |
status.artifact.uri | string | yes | — | Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048 |
status.conditions | array | no | — | Controller checks for this resource. Read the type, status, reason, and observed generation to diagnose the current state. · maxItems 8 |
status.conditions[] | object | — | — | maxProperties 1024 |
status.conditions[].lastTransitionTime | string | yes | — | maxLength 2048 |
status.conditions[].message | string | yes | — | maxLength 1024 |
status.conditions[].observedGeneration | integer | yes | — | format "int64" |
status.conditions[].reason | string | yes | — | maxLength 128 |
status.conditions[].status | string | yes | — | enum ["True","False","Unknown"] · maxLength 2048 |
status.conditions[].type | string | yes | — | maxLength 2048 |
status.diagnostics | array | no | — | Controller findings about this resource. Use the message and field, when available, to locate a validation or execution problem. · maxItems 12 |
status.diagnostics[] | object | — | — | maxProperties 1024 |
status.diagnostics[].code | string | yes | — | maxLength 128 |
status.diagnostics[].field | string | no | — | maxLength 2048 · nullable true |
status.diagnostics[].message | string | yes | — | maxLength 1024 |
status.diagnostics[].relatedResource | object | no | — | maxProperties 1024 · nullable true |
status.diagnostics[].relatedResource.name | string | yes | — | Kubernetes name of the referenced object in the same namespace. Use its metadata.name. · maxLength 253 |
status.diagnostics[].severity | string | yes | — | enum ["Error","Warning","Info"] · maxLength 2048 |
status.diagnostics[].sourceSpan | object | no | — | maxProperties 1024 · nullable true |
status.diagnostics[].sourceSpan.endByte | integer | yes | — | format "int64" |
status.diagnostics[].sourceSpan.endColumn | integer | yes | — | format "int64" |
status.diagnostics[].sourceSpan.endLine | integer | yes | — | format "int64" |
status.diagnostics[].sourceSpan.startByte | integer | yes | — | format "int64" |
status.diagnostics[].sourceSpan.startColumn | integer | yes | — | format "int64" |
status.diagnostics[].sourceSpan.startLine | integer | yes | — | format "int64" |
status.lastReconcileTime | string | no | — | Time of the most recent reconciliation, when reported. Use the observed generation to check whether it covers the current spec. · maxLength 2048 · nullable true |
status.observedGeneration | integer | no | — | Resource generation evaluated by the controller. Compare it with metadata.generation to check whether the status covers the current spec. · format "int64" · nullable true |
status.phase | string | no | — | Current stage reported by the controller. Use the conditions or failure details to diagnose why progress stopped. · enum ["Pending","Validating","Blocked","Publishing","Ready","Invalid","Degraded",null] · maxLength 2048 · nullable true |
status.previousReady | object | no | — | Retains the last successful definition when available. Check its generation and digest before using that artifact. · maxProperties 1024 · nullable true |
status.previousReady.artifact | object | no | — | maxProperties 1024 · nullable true · self.sizeBytes >= 0 && self.sizeBytes <= 9007199254740991 |
status.previousReady.artifact.digest | string | yes | — | SHA-256 digest of the artifact contents. Compare it with the downloaded bytes to verify the artifact. · maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" · self.matches('^sha256:[0-9a-f]{64}$') |
status.previousReady.artifact.mediaType | string | yes | — | Use the recorded media type to identify the artifact representation. · maxLength 2048 |
status.previousReady.artifact.sizeBytes | integer | yes | — | Use the published byte count when verifying a transferred artifact. · format "int64" |
status.previousReady.artifact.uri | string | yes | — | Use this location to identify the published artifact during retrieval or diagnostics. · maxLength 2048 |
status.previousReady.generation | integer | yes | — | format "int64" |
status.previousReady.semanticDigest | string | yes | — | maxLength 71 · pattern "^sha256:[0-9a-f]{64}$" |
status.semanticDigest | string | no | — | Digest of the interpreted definition. Check readiness and generation before using it to pin a dependent resource. · maxLength 71 · nullable true · pattern "^sha256:[0-9a-f]{64}$" |
Specification
Choose a workspace connection, select data within it, and declare the columns and key that identify its rows.
This resource requires columns, featureTimePolicy, primaryKey, source.
candidateEndTime
Name a UTC timestamp column when a link candidate stops being available at a known time. Omit it for open-ended availability.
columns
Declare the columns the table exposes. Add a column when a query, relation, or model needs its values.
| Field | When to use it |
|---|---|
spec.columns[].feature | Use true to include a supported column as a model feature. Use false when a column only identifies rows. |
spec.columns[].multicategoricalDelimiter | For a Utf8 source that holds several categories in one string, set its separator to produce a ListUtf8 multicategorical column. |
spec.columns[].name | Sets the output column name used by the key, mappings, and queries. Match the source field name for a direct read. |
spec.columns[].physicalType | Choose the output representation. Use Utf8 for a string identifier or Int64 for a 64-bit integer identifier. |
spec.columns[].semanticType | Choose the role of the column. Id marks an identifier, Numerical marks a measurement, and Timestamp marks a time. |
eventTime
For RowEventTime, name the declared UTC timestamp column that determines row
availability. Omit for Static.
featureTimePolicy
Choose RowEventTime to filter rows by their event times for point-in-time queries.
Choose Static for time-independent features.
ingestion
Set parsing and conversion rules when the source needs them. Omit this section for strictly typed Parquet columns that already match the table.
| Field | When to use it |
|---|---|
spec.ingestion.columns | Maps source values to declared output columns. Add a mapping when the input name, type, or representation needs to change. |
spec.ingestion.columns[].allowFloatApproximation | Set to true only when the target can tolerate rounding during conversion to floating point. |
spec.ingestion.columns[].binaryEncoding | Set Base64 to represent binary input as text. Use it when the source contains bytes that need a text output. |
spec.ingestion.columns[].boolean | Defines how to interpret boolean text. Supply token lists when the source uses a convention such as Y and N. |
spec.ingestion.columns[].boolean.falseValues | List the source tokens to interpret as false, such as N. |
spec.ingestion.columns[].boolean.trueValues | List the source tokens to interpret as true, such as Y. |
spec.ingestion.columns[].emptyIsNull | Set to true when an empty source value means missing data. |
spec.ingestion.columns[].name | Choose the declared output column that receives this mapping's result. |
spec.ingestion.columns[].nullTokens | List source tokens that represent missing values, such as NA. |
spec.ingestion.columns[].number | Sets the punctuation used in numeric text. Match the decimal and grouping conventions of the source. |
spec.ingestion.columns[].number.decimalSeparator | Choose the character that separates whole and fractional digits. Use a comma for values such as 12,5. |
spec.ingestion.columns[].number.groupingSeparator | Choose the character that separates digit groups. Set it when the source represents one thousand as 1,000 or 1.000. |
spec.ingestion.columns[].source | Choose exactly one way to obtain the value. Use a source field, a partition value, a composite key, or a generated row identifier. |
spec.ingestion.columns[].source.composite | Combines ordered components into one Utf8 key. Use it when multiple source values together identify a row. |
spec.ingestion.columns[].source.composite[].allowFloatApproximation | Set to true only when the target can tolerate rounding during conversion to floating point. |
spec.ingestion.columns[].source.composite[].binaryEncoding | Set Base64 to represent binary input as text. Use it when the source contains bytes that need a text output. |
spec.ingestion.columns[].source.composite[].boolean | Defines how to interpret boolean text. Supply token lists when the source uses a convention such as Y and N. |
spec.ingestion.columns[].source.composite[].boolean.falseValues | List the source tokens to interpret as false, such as N. |
spec.ingestion.columns[].source.composite[].boolean.trueValues | List the source tokens to interpret as true, such as Y. |
spec.ingestion.columns[].source.composite[].emptyIsNull | Set to true when an empty source value means missing data. |
spec.ingestion.columns[].source.composite[].name | Read this component from the named source field. Use a name when the source supplies headers. |
spec.ingestion.columns[].source.composite[].nullTokens | List source tokens that represent missing values, such as NA. |
spec.ingestion.columns[].source.composite[].number | Sets the punctuation used in numeric text. Match the decimal and grouping conventions of the source. |
spec.ingestion.columns[].source.composite[].number.decimalSeparator | Choose the character that separates whole and fractional digits. Use a comma for values such as 12,5. |
spec.ingestion.columns[].source.composite[].number.groupingSeparator | Choose the character that separates digit groups. Set it when the source represents one thousand as 1,000 or 1.000. |
spec.ingestion.columns[].source.composite[].partition | Read this component from a named partition in the object path. Use it when the identifier includes a value stored in a directory name. |
spec.ingestion.columns[].source.composite[].physicalType | Choose the type used to normalize this component before composing the key. For example, use Int64 for a numeric sequence. |
spec.ingestion.columns[].source.composite[].position | Read this component from the zero-based field position. Use a position for headerless input. |
spec.ingestion.columns[].source.composite[].timestamp | Defines how to parse input as a timestamp. Set the unit for integer epoch values or the format for timestamp text. |
spec.ingestion.columns[].source.composite[].timestamp.epochUnit | Choose the unit used by the source for an integer time since the Unix epoch. Milliseconds and seconds give different instants for the same integer. |
spec.ingestion.columns[].source.composite[].timestamp.format | Use a chrono strftime pattern that matches the source text. Set the date order for values such as 03/04/2025; the reader does not infer it. |
spec.ingestion.columns[].source.composite[].timestamp.naiveTimezone | Set the time zone for a timestamp that has no offset. Use this override if the input uses a different zone from the table-wide setting. |
spec.ingestion.columns[].source.generatedRowId | Set to true to derive a Utf8 identifier from source row identity. Use it when the source lacks a suitable key. |
spec.ingestion.columns[].source.name | Read the named field from the source. Set a different output name to rename it. |
spec.ingestion.columns[].source.partition | Read a named partition value from the object path. For country=US/, use country. |
spec.ingestion.columns[].source.position | Read a field by its zero-based position. Use this for input with no header row. |
spec.ingestion.columns[].timestamp | Defines how to parse input as a timestamp. Set the unit for integer epoch values or the format for timestamp text. |
spec.ingestion.columns[].timestamp.epochUnit | Choose the unit used by the source for an integer time since the Unix epoch. Milliseconds and seconds give different instants for the same integer. |
spec.ingestion.columns[].timestamp.format | Use a chrono strftime pattern that matches the source text. Set the date order for values such as 03/04/2025; the reader does not infer it. |
spec.ingestion.columns[].timestamp.naiveTimezone | Set the time zone for a timestamp that has no offset. Use this override if the input uses a different zone from the table-wide setting. |
spec.ingestion.contractVersion | Identifies the conversion rules used for this table. This API requires prokrust.ingestion/v1 when ingestion is enabled. |
spec.ingestion.limits | Bounds the work and memory used by the reader. Set limits supported by the worker and expected input sizes. |
spec.ingestion.limits.batchRows | Caps rows per input batch. Reduce it when wide rows use too much memory. |
spec.ingestion.limits.maxBatchBytes | Caps the size of a batch in bytes. Reduce it to bound worker memory. |
spec.ingestion.limits.maxColumns | Caps the number of columns the reader accepts. Adjust it for the width of the source schema. |
spec.ingestion.limits.maxDecompressedBytes | Caps the size of an input after decompression. Set it for the largest uncompressed input you expect to read. |
spec.ingestion.limits.maxFieldBytes | Caps the byte length of one input field. Set it for the largest legitimate text or binary value. |
spec.ingestion.limits.maxParquetFooterBytes | Caps the bytes accepted for Parquet footer metadata. Choose a bound that fits the metadata in your files. |
spec.ingestion.limits.maxParquetRowGroupBytes | Caps the size accepted for one Parquet row group. Match the bound to the source layout and worker capacity. |
spec.ingestion.limits.maxRecordBytes | Caps the byte length of one input record. Increase within the supported range for wide rows. |
spec.ingestion.maxParallelWorkers | Caps concurrent conversion workers. Reduce it when conversion competes for cluster capacity. |
spec.ingestion.naiveTimezone | Sets the time zone used for timestamps without an offset. Set it when the source uses a known local time zone. |
spec.ingestion.partitionRoot | Sets the object-key prefix from which to read directory partitions. Use a root ending in / when values occur in key=value path segments. |
spec.ingestion.percentDecodePartitionValues | Set to true when the producer percent-encodes partition values in paths, such as spaces written as %20. |
spec.ingestion.readOptions | Controls how to parse delimited input. Set options to match the file producer's format. |
spec.ingestion.readOptions.compression | Auto checks the input for gzip. Select Gzip or Uncompressed when the input contract specifies its encoding. |
spec.ingestion.readOptions.delimiter | Sets the field separator. Set it when a delimited file uses a separator such as a semicolon. |
spec.ingestion.readOptions.doubleQuote | Set to true when two consecutive quote characters inside a quoted value represent one literal quote. |
spec.ingestion.readOptions.escape | Sets the escape character in quoted fields. Use the character emitted by the source file producer. |
spec.ingestion.readOptions.header | Use true when the first row contains field names. Use false and positional mappings for headerless data. |
spec.ingestion.readOptions.quote | Sets the character that encloses a quoted field. Change it if the producer uses a character other than a double quote. |
primaryKey
Name the unique, non-null Id column that identifies a row. For order lines, use a line
identifier when the order identifier repeats.
source
Selects the connection for access and the data to read through it.
| Field | When to use it |
|---|---|
spec.source.connectionRef | Selects an existing connection in the table's workspace. Choose another connection to read from a different bucket or project. |
spec.source.connectionRef.apiVersion | Copy the API group and version from the selected connection. Different providers can use different API groups. |
spec.source.connectionRef.kind | Copy the Kubernetes kind from the selected connection to select its provider resource type. |
spec.source.connectionRef.name | Use the connection’s Kubernetes name in this workspace. Choose another connection to change the access scope. |
spec.source.selector | Identifies the data within the selected connection. Two tables can use one connection and select different objects. |
spec.source.selector.config | Admission validates these fields and applies defaults from the provider’s selector schema. For S3 v1, change the object path to read another object. For BigQuery v1, choose the dataset and table. |
spec.source.selector.schemaVersion | Use a selector schema version supported by the installed connector. It controls how the connector validates and interprets config. |
Kubernetes schema for spec
Required applies when the parent is present. A dash in the default column means the CRD declares no default.
| Field | Type | Required | Default | Schema constraints and descriptions |
|---|---|---|---|---|
spec | object | yes | — | Choose a workspace connection, select data within it, and declare the columns and key that identify its rows. · maxProperties 1024 · self.columns.exists_one(c, c.name == self.primaryKey && c.semanticType == 'Id') · (self.featureTimePolicy == 'RowEventTime' && has(self.eventTime) && self.columns.exists_one(c, c.name == self.eventTime && c.semanticType == 'Timestamp')) || (self.featureTimePolicy == 'Static' && !has(self.eventTime)) · self.columns.all(c, !(c.feature && c.semanticType == 'Categorical' && c.physicalType == 'Float64')) · !has(self.candidateEndTime) || self.columns.exists_one(c, c.name == self.candidateEndTime && c.semanticType == 'Timestamp' && c.physicalType == 'TimestampNanosecondUtc') · self.columns.all(c, !has(c.multicategoricalDelimiter) || (c.semanticType == 'Multicategorical' && c.physicalType == 'ListUtf8' && size(c.multicategoricalDelimiter) > 0 && size(c.multicategoricalDelimiter) <= 64)) · self.columns.all(c, (c.semanticType == 'Id' && c.physicalType in ['Int64', 'Utf8']) || (c.semanticType == 'Timestamp' && c.physicalType == 'TimestampNanosecondUtc') || (c.semanticType == 'Numerical' && c.physicalType in ['Int64', 'Float64']) || (c.semanticType == 'Categorical' && c.physicalType in ['Boolean', 'Int64', 'Float64', 'Utf8']) || (c.semanticType == 'Text' && c.physicalType == 'Utf8') || (c.semanticType == 'Multicategorical' && c.physicalType in ['ListBoolean', 'ListInt64', 'ListUtf8']) || c.semanticType == 'Ignored') |
spec.candidateEndTime | string | no | — | Name a UTC timestamp column when a link candidate stops being available at a known time. Omit it for open-ended availability. · maxLength 16384 · nullable true |
spec.columns | array | yes | — | Declare the columns the table exposes. Add a column when a query, relation, or model needs its values. · maxItems 256 · x-kubernetes-list-map-keys ["name"] · x-kubernetes-list-type "map" |
spec.columns[] | object | — | — | maxProperties 1024 |
spec.columns[].feature | boolean | yes | — | Use true to include a supported column as a model feature. Use false when a column only identifies rows. |
spec.columns[].multicategoricalDelimiter | string | no | — | For a Utf8 source that holds several categories in one string, set its separator to produce a ListUtf8 multicategorical column. · maxLength 16384 · nullable true |
spec.columns[].name | string | yes | — | Sets the output column name used by the key, mappings, and queries. Match the source field name for a direct read. · maxLength 253 |
spec.columns[].physicalType | string | yes | — | Choose the output representation. Use Utf8 for a string identifier or Int64 for a 64-bit integer identifier. · enum ["Boolean","Int64","Float64","Utf8","TimestampNanosecondUtc","ListBoolean","ListInt64","ListUtf8"] · maxLength 16384 |
spec.columns[].semanticType | string | yes | — | Choose the role of the column. Id marks an identifier, Numerical marks a measurement, and Timestamp marks a time. · enum ["Id","Timestamp","Numerical","Categorical","Text","Multicategorical","Ignored"] · maxLength 16384 |
spec.eventTime | string | no | — | For RowEventTime, name the declared UTC timestamp column that determines row availability. Omit for Static. · maxLength 16384 · nullable true |
spec.featureTimePolicy | string | yes | — | Choose RowEventTime to filter rows by their event times for point-in-time queries. Choose Static for time-independent features. · enum ["RowEventTime","Static"] · maxLength 16384 |
spec.ingestion | object | no | — | Set parsing and conversion rules when the source needs them. Omit this section for strictly typed Parquet columns that already match the table. · maxProperties 1024 · nullable true · self.contractVersion == 'prokrust.ingestion/v1' · self.maxParallelWorkers >= 1 && self.maxParallelWorkers <= 64 |
spec.ingestion.columns | array | no | — | Maps source values to declared output columns. Add a mapping when the input name, type, or representation needs to change. · maxItems 256 |
spec.ingestion.columns[] | object | — | — | maxProperties 1024 |
spec.ingestion.columns[].allowFloatApproximation | boolean | no | — | Set to true only when the target can tolerate rounding during conversion to floating point. |
spec.ingestion.columns[].binaryEncoding | string | no | — | Set Base64 to represent binary input as text. Use it when the source contains bytes that need a text output. · enum ["Base64",null] · maxLength 16384 · nullable true |
spec.ingestion.columns[].boolean | object | no | — | Defines how to interpret boolean text. Supply token lists when the source uses a convention such as Y and N. · maxProperties 1024 · nullable true |
spec.ingestion.columns[].boolean.falseValues | array | yes | — | List the source tokens to interpret as false, such as N. · maxItems 256 |
spec.ingestion.columns[].boolean.falseValues[] | string | — | — | maxLength 16384 |
spec.ingestion.columns[].boolean.trueValues | array | yes | — | List the source tokens to interpret as true, such as Y. · maxItems 256 |
spec.ingestion.columns[].boolean.trueValues[] | string | — | — | maxLength 16384 |
spec.ingestion.columns[].emptyIsNull | boolean | no | — | Set to true when an empty source value means missing data. · nullable true |
spec.ingestion.columns[].name | string | yes | — | Choose the declared output column that receives this mapping's result. · maxLength 253 |
spec.ingestion.columns[].nullTokens | array | no | — | List source tokens that represent missing values, such as NA. · maxItems 256 |
spec.ingestion.columns[].nullTokens[] | string | — | — | maxLength 16384 |
spec.ingestion.columns[].number | object | no | — | Sets the punctuation used in numeric text. Match the decimal and grouping conventions of the source. · maxProperties 1024 · nullable true |
spec.ingestion.columns[].number.decimalSeparator | string | no | — | Choose the character that separates whole and fractional digits. Use a comma for values such as 12,5. · maxLength 16384 · nullable true |
spec.ingestion.columns[].number.groupingSeparator | string | no | — | Choose the character that separates digit groups. Set it when the source represents one thousand as 1,000 or 1.000. · maxLength 16384 · nullable true |
spec.ingestion.columns[].source | object | yes | — | Choose exactly one way to obtain the value. Use a source field, a partition value, a composite key, or a generated row identifier. · maxProperties 1024 · [has(self.name), has(self.position), has(self.partition), has(self.composite), has(self.generatedRowId)].filter(x, x).size() == 1 · !has(self.generatedRowId) || self.generatedRowId |
spec.ingestion.columns[].source.composite | array | no | — | Combines ordered components into one Utf8 key. Use it when multiple source values together identify a row. · maxItems 32 · minItems 1 · nullable true |
spec.ingestion.columns[].source.composite[] | object | — | — | maxProperties 1024 · [has(self.name), has(self.position), has(self.partition)].filter(x, x).size() == 1 |
spec.ingestion.columns[].source.composite[].allowFloatApproximation | boolean | no | — | Set to true only when the target can tolerate rounding during conversion to floating point. |
spec.ingestion.columns[].source.composite[].binaryEncoding | string | no | — | Set Base64 to represent binary input as text. Use it when the source contains bytes that need a text output. · enum ["Base64",null] · maxLength 16384 · nullable true |
spec.ingestion.columns[].source.composite[].boolean | object | no | — | Defines how to interpret boolean text. Supply token lists when the source uses a convention such as Y and N. · maxProperties 1024 · nullable true |
spec.ingestion.columns[].source.composite[].boolean.falseValues | array | yes | — | List the source tokens to interpret as false, such as N. · maxItems 256 |
spec.ingestion.columns[].source.composite[].boolean.falseValues[] | string | — | — | maxLength 16384 |
spec.ingestion.columns[].source.composite[].boolean.trueValues | array | yes | — | List the source tokens to interpret as true, such as Y. · maxItems 256 |
spec.ingestion.columns[].source.composite[].boolean.trueValues[] | string | — | — | maxLength 16384 |
spec.ingestion.columns[].source.composite[].emptyIsNull | boolean | no | — | Set to true when an empty source value means missing data. · nullable true |
spec.ingestion.columns[].source.composite[].name | string | no | — | Read this component from the named source field. Use a name when the source supplies headers. · maxLength 253 · nullable true |
spec.ingestion.columns[].source.composite[].nullTokens | array | no | — | List source tokens that represent missing values, such as NA. · maxItems 256 |
spec.ingestion.columns[].source.composite[].nullTokens[] | string | — | — | maxLength 16384 |
spec.ingestion.columns[].source.composite[].number | object | no | — | Sets the punctuation used in numeric text. Match the decimal and grouping conventions of the source. · maxProperties 1024 · nullable true |
spec.ingestion.columns[].source.composite[].number.decimalSeparator | string | no | — | Choose the character that separates whole and fractional digits. Use a comma for values such as 12,5. · maxLength 16384 · nullable true |
spec.ingestion.columns[].source.composite[].number.groupingSeparator | string | no | — | Choose the character that separates digit groups. Set it when the source represents one thousand as 1,000 or 1.000. · maxLength 16384 · nullable true |
spec.ingestion.columns[].source.composite[].partition | string | no | — | Read this component from a named partition in the object path. Use it when the identifier includes a value stored in a directory name. · maxLength 16384 · nullable true |
spec.ingestion.columns[].source.composite[].physicalType | string | yes | — | Choose the type used to normalize this component before composing the key. For example, use Int64 for a numeric sequence. · enum ["Boolean","Int64","Float64","Utf8","TimestampNanosecondUtc","ListBoolean","ListInt64","ListUtf8"] · maxLength 16384 |
spec.ingestion.columns[].source.composite[].position | integer | no | — | Read this component from the zero-based field position. Use a position for headerless input. · format "uint32" · minimum 0 · nullable true |
spec.ingestion.columns[].source.composite[].timestamp | object | no | — | Defines how to parse input as a timestamp. Set the unit for integer epoch values or the format for timestamp text. · maxProperties 1024 · nullable true |
spec.ingestion.columns[].source.composite[].timestamp.epochUnit | string | no | — | Choose the unit used by the source for an integer time since the Unix epoch. Milliseconds and seconds give different instants for the same integer. · enum ["Second","Millisecond","Microsecond","Nanosecond",null] · maxLength 16384 · nullable true |
spec.ingestion.columns[].source.composite[].timestamp.format | string | no | — | Use a chrono strftime pattern that matches the source text. Set the date order for values such as 03/04/2025; the reader does not infer it. · maxLength 16384 · nullable true |
spec.ingestion.columns[].source.composite[].timestamp.naiveTimezone | string | no | — | Set the time zone for a timestamp that has no offset. Use this override if the input uses a different zone from the table-wide setting. · maxLength 16384 · nullable true |
spec.ingestion.columns[].source.generatedRowId | boolean | no | — | Set to true to derive a Utf8 identifier from source row identity. Use it when the source lacks a suitable key. · nullable true |
spec.ingestion.columns[].source.name | string | no | — | Read the named field from the source. Set a different output name to rename it. · maxLength 253 · nullable true |
spec.ingestion.columns[].source.partition | string | no | — | Read a named partition value from the object path. For country=US/, use country. · maxLength 16384 · nullable true |
spec.ingestion.columns[].source.position | integer | no | — | Read a field by its zero-based position. Use this for input with no header row. · format "uint32" · minimum 0 · nullable true |
spec.ingestion.columns[].timestamp | object | no | — | Defines how to parse input as a timestamp. Set the unit for integer epoch values or the format for timestamp text. · maxProperties 1024 · nullable true |
spec.ingestion.columns[].timestamp.epochUnit | string | no | — | Choose the unit used by the source for an integer time since the Unix epoch. Milliseconds and seconds give different instants for the same integer. · enum ["Second","Millisecond","Microsecond","Nanosecond",null] · maxLength 16384 · nullable true |
spec.ingestion.columns[].timestamp.format | string | no | — | Use a chrono strftime pattern that matches the source text. Set the date order for values such as 03/04/2025; the reader does not infer it. · maxLength 16384 · nullable true |
spec.ingestion.columns[].timestamp.naiveTimezone | string | no | — | Set the time zone for a timestamp that has no offset. Use this override if the input uses a different zone from the table-wide setting. · maxLength 16384 · nullable true |
spec.ingestion.contractVersion | string | no | "prokrust.ingestion/v1" | Identifies the conversion rules used for this table. This API requires prokrust.ingestion/v1 when ingestion is enabled. · maxLength 16384 |
spec.ingestion.limits | object | no | {"batchRows":4096,"maxBatchBytes":16777216,"maxColumns":1024,"maxDecompressedBytes":1099511627776,"maxFieldBytes":1048576,"maxParquetFooterBytes":8388608,"maxParquetRowGroupBytes":268435456,"maxRecordBytes":8388608} | Bounds the work and memory used by the reader. Set limits supported by the worker and expected input sizes. · maxProperties 1024 |
spec.ingestion.limits.batchRows | integer | yes | — | Caps rows per input batch. Reduce it when wide rows use too much memory. · format "uint32" · maximum 65536 · minimum 1 |
spec.ingestion.limits.maxBatchBytes | integer | yes | — | Caps the size of a batch in bytes. Reduce it to bound worker memory. · format "uint32" · maximum 134217728 · minimum 1 |
spec.ingestion.limits.maxColumns | integer | yes | — | Caps the number of columns the reader accepts. Adjust it for the width of the source schema. · format "uint32" · maximum 4096 · minimum 1 |
spec.ingestion.limits.maxDecompressedBytes | integer | yes | — | Caps the size of an input after decompression. Set it for the largest uncompressed input you expect to read. · format "uint64" · maximum 9007199254740991 · minimum 1 |
spec.ingestion.limits.maxFieldBytes | integer | yes | — | Caps the byte length of one input field. Set it for the largest legitimate text or binary value. · format "uint32" · maximum 16777216 · minimum 1 |
spec.ingestion.limits.maxParquetFooterBytes | integer | yes | — | Caps the bytes accepted for Parquet footer metadata. Choose a bound that fits the metadata in your files. · format "uint32" · maximum 8388608 · minimum 1 |
spec.ingestion.limits.maxParquetRowGroupBytes | integer | yes | — | Caps the size accepted for one Parquet row group. Match the bound to the source layout and worker capacity. · format "uint64" · maximum 268435456 · minimum 1 |
spec.ingestion.limits.maxRecordBytes | integer | yes | — | Caps the byte length of one input record. Increase within the supported range for wide rows. · format "uint32" · maximum 67108864 · minimum 1 |
spec.ingestion.maxParallelWorkers | integer | no | 4 | Caps concurrent conversion workers. Reduce it when conversion competes for cluster capacity. · format "uint16" · maximum 65535 · minimum 0 |
spec.ingestion.naiveTimezone | string | no | — | Sets the time zone used for timestamps without an offset. Set it when the source uses a known local time zone. · maxLength 16384 · nullable true |
spec.ingestion.partitionRoot | string | no | — | Sets the object-key prefix from which to read directory partitions. Use a root ending in / when values occur in key=value path segments. · maxLength 16384 · nullable true |
spec.ingestion.percentDecodePartitionValues | boolean | no | — | Set to true when the producer percent-encodes partition values in paths, such as spaces written as %20. |
spec.ingestion.readOptions | object | no | {"compression":"Auto","doubleQuote":true,"header":true,"quote":"\""} | Controls how to parse delimited input. Set options to match the file producer's format. · maxProperties 1024 |
spec.ingestion.readOptions.compression | string | no | "Auto" | Auto checks the input for gzip. Select Gzip or Uncompressed when the input contract specifies its encoding. · enum ["Auto","Uncompressed","Gzip"] · maxLength 16384 |
spec.ingestion.readOptions.delimiter | string | no | — | Sets the field separator. Set it when a delimited file uses a separator such as a semicolon. · maxLength 16384 · nullable true |
spec.ingestion.readOptions.doubleQuote | boolean | no | true | Set to true when two consecutive quote characters inside a quoted value represent one literal quote. |
spec.ingestion.readOptions.escape | string | no | — | Sets the escape character in quoted fields. Use the character emitted by the source file producer. · maxLength 16384 · nullable true |
spec.ingestion.readOptions.header | boolean | no | true | Use true when the first row contains field names. Use false and positional mappings for headerless data. |
spec.ingestion.readOptions.quote | string | no | "\"" | Sets the character that encloses a quoted field. Change it if the producer uses a character other than a double quote. · maxLength 16384 |
spec.primaryKey | string | yes | — | Name the unique, non-null Id column that identifies a row. For order lines, use a line identifier when the order identifier repeats. · maxLength 16384 |
spec.source | object | yes | — | Selects the connection for access and the data to read through it. · maxProperties 1024 |
spec.source.connectionRef | object | yes | — | Selects an existing connection in the table's workspace. Choose another connection to read from a different bucket or project. · maxProperties 1024 |
spec.source.connectionRef.apiVersion | string | yes | — | Copy the API group and version from the selected connection. Different providers can use different API groups. · maxLength 253 · minLength 1 |
spec.source.connectionRef.kind | string | yes | — | Copy the Kubernetes kind from the selected connection to select its provider resource type. · maxLength 63 · minLength 1 |
spec.source.connectionRef.name | string | yes | — | Use the connection’s Kubernetes name in this workspace. Choose another connection to change the access scope. · maxLength 253 · minLength 1 |
spec.source.selector | object | yes | — | Identifies the data within the selected connection. Two tables can use one connection and select different objects. · maxProperties 1024 |
spec.source.selector.config | object | yes | — | Admission validates these fields and applies defaults from the provider’s selector schema. For S3 v1, change the object path to read another object. For BigQuery v1, choose the dataset and table. · maxProperties 1024 · x-kubernetes-preserve-unknown-fields true |
spec.source.selector.schemaVersion | string | yes | — | Use a selector schema version supported by the installed connector. It controls how the connector validates and interprets config. · maxLength 64 · minLength 1 |
The validation schema matches prokrust-crds 0.23.0-rc.1.