Derive the batch identity a columnar-selected plan implies.
Field derivation:
planId — the plan's validity.fingerprint verbatim, so two plans that
are interchangeable for reuse share a cache entry and two that are not,
do not. The broader plan.fingerprint also covers cost estimates, which
change nothing about which rows come back, so it is deliberately not used.
sourceId / sourceVersion / schemaVersion — the plan's declared source
identity, falling back to the plan's own descriptor and schema fingerprints
when the source declares no version string. Both fallbacks are plan-derived
and change whenever the underlying identity changes.
authorizationScope — the plan's authorization-scope fingerprint, never
the raw scope values.
ordering — the canonical query's orderBy, as an ordering contract.
HonuaCapabilityNotSupportedError when the plan did not select
columnar execution. A columnar identity minted from an object plan would
let a batch claim provenance the planner never granted.
Derive the batch identity a columnar-selected plan implies.
Field derivation:
planId— the plan'svalidity.fingerprintverbatim, so two plans that are interchangeable for reuse share a cache entry and two that are not, do not. The broaderplan.fingerprintalso covers cost estimates, which change nothing about which rows come back, so it is deliberately not used.sourceId/sourceVersion/schemaVersion— the plan's declared source identity, falling back to the plan's own descriptor and schema fingerprints when the source declares no version string. Both fallbacks are plan-derived and change whenever the underlying identity changes.authorizationScope— the plan's authorization-scope fingerprint, never the raw scope values.ordering— the canonical query'sorderBy, as an ordering contract.freshness— from ColumnarBatchIdentityFromPlanOptions.