STREAMING_CHECKPOINT_PIN_BATCH_ERROR error condition

SQLSTATE: 22023

Failed to perform pin operation for streaming query with checkpoint location=<checkpointLocation> at batchId=<batchId>.

BATCH_NOT_PINNED

Batch <batchId> is not pinned and cannot be unpinned.

BATCH_WAS_SKIPPED

Batch <batchId> was skipped and cannot be pinned. Pinning can only be performed on existing batches.

COMMIT_METADATA_NOT_FOUND

Commit metadata not found for batch <batchId>. Pinning can only be performed on existing batches.

INVALID_BATCH_ID_NEGATIVE

Batch ID must be non-negative. Provide a batch ID >= 0.

INVALID_CHECKPOINT_LOCATION_EMPTY

Checkpoint location cannot be an empty string. Provide a valid checkpoint location path.

INVALID_CHECKPOINT_LOCATION_NULL

Checkpoint location cannot be null. Provide a valid checkpoint location path.

OFFSET_SEQUENCE_NOT_FOUND

Offset sequence not found for batch <batchId>. Pinning can only be performed on existing batches.

QUERY_INITIALIZATION_TIMEOUT

Timed out waiting <timeoutMs>ms for the streaming query to initialize. Retry after the query has started.

STREAM_METADATA_NOT_FOUND

No stream metadata found at checkpoint location <checkpointLocation>. Check if the checkpoint location is valid.

TIME_TRAVEL_NOT_ENABLED

Batch <batchId> does not have time travel enabled in its metadata. Pinning requires time travel to be enabled before the batch is written.

UNSUPPORTED_COMMIT_LOG_VERSION

Commit log format version <actualVersion> is not supported for batch pinning. The minimum required version is <requiredVersion>.

UNSUPPORTED_OFFSET_LOG_VERSION

Offset log format version <actualVersion> is not supported for batch pinning. The minimum required version is <requiredVersion>.