STREAMING_CHECKPOINT_METADATA_ERROR error condition

SQLSTATE: 42616

Error with streaming checkpoint metadata.

COMMIT_LOG_V3_MISSING_SINK_METADATA

If using spark.sql.streaming.commitLog.formatVersion >= 3, sink metadata information must be provided. Some streaming modes are incompatible with this format version (continuous mode, async progress tracking, async state checkpointing); please fix the configs and try again.

DETECTED_PENDING_CONTROL_BATCH

Detected pending control batch for operationType= with batchId= and queryId=. Retry the control operation and rerun the query.

DETECTED_RUNNING_QUERY

Detected running streaming query with ID . Stop the running query before performing rewind.

INVALID_COMMIT_LOG_METADATA

Found invalid commit log metadata for batch with format version . Please rerun the query with the correct config.

MISSING_COMMIT_PROGRESS

Error occurred while time travel is enabled for batch . Please disable time travel or contact Azure Databricks support.

MISSING_METADATA_FILE

Checkpoint location is in an inconsistent state: the metadata file is missing but offset and/or commit logs contain data. Please restore the metadata file or create a new checkpoint directory.

NO_QUERY_ID_FOUND

No streaming query ID found at checkpoint location . Check if the checkpoint location is valid.

REWIND_COMMIT_MISSING_SINK_METADATA

Attempted to rewind to batch at checkpoint location but it was not created with spark.sql.streaming.commitLog.formatVersion >= 3. No sink metadata available in commit log. Please retry with a batch with sink metadata available, or rerun the query with the correct config.

REWIND_OFFSET_MISSING_METADATA

Attempted to rewind to batch at checkpoint location but no metadata is available in the offset log. Please retry with a batch that has metadata available.

SKIP_OFFSETS_INVALID_SOURCE_ID

Invalid source ID in skipOffsets at batchId= does not exist in available source IDs= for checkpoint location . Please check if the query was modified to remove this source and re-add it.

SOURCE_DOES_NOT_SUPPORT_SKIP_OFFSETS

Source does not support skipping offsets. Please remove this source from the query or rewind without skipping offsets.

STATE_METADATA_MISSING_FOR_REWIND

Failed to read state metadata for operator at batch during rewind operation. Checkpoint location: . The metadata file may not exist for this batch. Ensure the target batch has valid state metadata before rewinding.

STATE_STORE_MIGRATION_WITH_TIME_TRAVEL_UNSUPPORTED

Enabling time travel and migrating the state store provider in the same query restart is not supported. Complete the state store provider migration first, then enable time travel on a subsequent restart. Checkpoint location: .