Skip to main content

STREAMING_CHECKPOINT_PIN_BATCH_ERROR error condition

SQLSTATE: 42000

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

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.

Please provide a batch ID >= 0.

INVALID_CHECKPOINT_LOCATION_EMPTY

Checkpoint location cannot be an empty string.

Please provide a valid checkpoint location path.

INVALID_CHECKPOINT_LOCATION_NULL

Checkpoint location cannot be null.

Please 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.

STREAM_METADATA_NOT_FOUND

No stream metadata found at checkpoint location <checkpointLocation>.

Check if the checkpoint location is valid.