Skip to main content

Module limits

Module limits 

Source
Expand description

Canonical codec structural limits. Canonical implementation-independent codec ceilings.

Structs§

CodecLimits
The complete canonical JSON structural limit set.
StructuralLimits
Shared implementation-independent typed-plan structural ceilings.

Constants§

CANONICAL_CODEC_LIMITS
Canonical limits used by every contract codec consumer.
CANONICAL_STRUCTURAL_LIMITS
Canonical structural limits shared by V1 and V2 typed plans.
MAX_ALLOWED_CROSS_JOINS
Maximum number of explicitly allowed cross-join binding pairs.
MAX_BINDINGS
Maximum number of bindings in one typed plan.
MAX_BOOLEAN_TERMS
Maximum number of children in one boolean expression.
MAX_CANONICAL_BYTES
Maximum canonical artifact size: 16 MiB.
MAX_CANONICAL_COLLECTION_LEN
Maximum direct members in one array or object.
MAX_CANONICAL_DEPTH
Maximum JSON nesting depth, counting the root as one.
MAX_CANONICAL_STRING_BYTES
Maximum UTF-8 byte length of one string or object key: 1 MiB.
MAX_COLLECTION_ORDER_TERMS
Maximum number of ordering terms for one collected output slot.
MAX_DIAGNOSTIC_BYTES
Maximum bytes in one canonical serialized diagnostic.
MAX_INPUT_BYTES
Maximum encoded bytes across one invocation’s input-row batch: 4 MiB.
MAX_INPUT_ROWS
Maximum number of input rows in one typed invocation.
MAX_ORDER_TERMS
Maximum number of public row/root ordering terms.
MAX_OUTPUT_NAME_BYTES
Maximum UTF-8 bytes in one output or query-variable name.
MAX_PREDICATE_DEPTH
Maximum predicate nesting depth, counting a root as depth one.
MAX_PREDICATE_NODES
Maximum number of nodes in one predicate tree.
MAX_QUERY_INVOCATION_BYTES
Maximum canonical bytes in one complete plan-bound query invocation.
MAX_REMOTE_ENVELOPE_BYTES
Maximum remote request/response envelope size: 32 MiB.
MAX_SELECTED_SLOTS
Maximum number of selected output slots in one typed plan.
MAX_SEMANTIC_ID_BYTES
Maximum UTF-8 bytes in one serialized semantic identity.
REMOTE_ENVELOPE_CODEC_LIMITS
Owning-format limits for V1 remote replies and capability advertisements.
REMOTE_REQUEST_CODEC_LIMITS
Owning-format limits for V1 remote query request envelopes.