Pular para o conteúdo principal

STATE_STORE_VALUE_SCHEMA_NOT_COMPATIBLE error condition

SQLSTATE: 42000

The provided value schema does not match existing schema in operator state. Existing schema=<storedValueSchema>; provided schema=<newValueSchema>. To run the query without schema validation, set spark.sql.streaming.stateStore.stateSchemaCheck to false. Note that running without schema validation can have non-deterministic behavior.

FIELDS_REORDERED

The value schema fields have been reordered. Reordering fields in the value schema is not allowed.

FIELD_ADDED

New field(s) <addedFields> found in the value schema. Adding fields to the value schema is not allowed without schema evolution enabled.

FIELD_REMOVED

Field(s) <removedFields> missing from the value schema. Removing fields from the value schema is not allowed without schema evolution enabled.

NULLABILITY_CHANGED

Nullability of field(s) <changedFields> in the value schema has changed in an incompatible way.

TYPE_CHANGED

Type of field(s) <changedFields> in the value schema has changed. Changing types of value fields is not allowed.

UNKNOWN_INCOMPATIBILITY

The value schema has changed in an incompatible way.