Aller au contenu principal

INVALID_REWIND_SPECIFICATION error condition

SQLSTATE: 0A000

The rewind specification is invalid

BEYOND_RETENTION​

The rewind target version <restoreVersion> for table '<tableName>' is no longer available in the Delta log.

This typically means the version has been removed by log cleanup.

CHECKPOINT_BEYOND_RETENTION​

The streaming checkpoint for flow '<flowIdentifier>' on table '<tableName>' does not contain the target batch version <resetVersion>.

This typically means the checkpoint has been cleaned up by retention policies.

DATASET_NOT_IN_REWIND_POINT​

The dataset(s) '<datasetNames>' were requested for rewind, but rewind point '<rewindPointId>' does not contain a recorded rewind for them.

That rewind point covers: <recordedDatasetNames>.

A rewind by point id can only restore datasets the rewind point recorded. Choose a rewind point that covers these datasets, request only the datasets it covers, or rewind by timestamp instead.

INCONSISTENT_UPSTREAM_CHECKPOINT_RESET​

Table '<tableName>' has upstream tables with inconsistent checkpoint reset settings.

All upstream tables must have the same resetCheckpoints value. Either all upstreams should reset checkpoints or none should.

INVALID_CASCADE_CONFIGURATION​

Table '<downstreamTable>' is configured with cascade=false, but it depends on table '<upstreamTable>' which is configured with cascade=true.

When a table is rewound with cascade=true, all its downstream dependent tables must also be rewound to maintain data consistency. Setting cascade=false on a downstream table would create inconsistent data.

MULTIPLE_REWIND_TARGETS​

Both rewind_timestamp and rewind_point_id were specified.

Exactly one of these fields must be set on a RewindSpec.

NO_ALIGNED_VERSION​

No valid aligned checkpoint version found for table '<tableIdentifier>' when searching from version <startVersion>.

The downstream table has consumed data beyond all upstream rewind points at every version in its history.

This may indicate that the upstream tables were rewound to a point before the downstream table ever consumed from them.

NO_REWIND_TARGET​

Neither rewind_timestamp nor rewind_point_id was specified.

Exactly one of these fields must be set on a RewindSpec.

RESOLVED_VERSION_BEYOND_RETENTION​

Cannot rewind table '<tableName>' to version <restoreVersion> because that version is older than the table's deleted-file retention window (delta.deletedFileRetentionDuration).

The rewind point resolves to the latest table version at or before its timestamp. For a table that is updated infrequently, that resolved version can be much older than when the rewind point was generated, so the retention limit may be reached earlier than the rewind point's generation time.

To rewind this far back, increase delta.deletedFileRetentionDuration (and delta.logRetentionDuration) on the table.

REWIND_POINT_NOT_FOUND​

No rewind summary with id '<rewindPointId>' was found in the pipeline event log.

TABLE_NOT_FOUND​

The dataset '<datasetName>' does not exist in the pipeline.