- Newest
- Most votes
- Most comments
Hi,
The Glue Schema Registry Checkpoint changes to the most recent version of the schema by default when we change/modify the schema definition or compatibility mode.If you want to specify a specific version of the schema, you must use CLI/SDK; you can specify the version using the updateSchema API, and you can also specify the latest version of the schema.
Where as when a new version of a schema is submitted to the registry, the compatibility rule applied to the schema name is used to determine if the new version can be accepted. There are 8 compatibility modes: NONE, DISABLED, BACKWARD, BACKWARD_ALL, FORWARD, FORWARD_ALL, FULL, FULL_ALL. Here the BACKWARD compatibility implies that the new schema will be compared to the checkpoint schema. If the schemas do not match, then it will reject the new version of the schema. With "backward" compatibility, you are only able to delete fields and add new fields.
Thank you.
Relevant content
- asked 2 years ago
- asked 4 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 5 years ago

If I'm understanding this correctly, when you register a new version of the schema, that new version should become the checkpoint. Is that correct? I have registered new versions via the web console and observed the previous version remaining tagged as the checkpoint (i.e. add v2, but v1 remains the checkpoint).
The registry documentation (https://docs.aws.amazon.com/glue/latest/dg/schema-registry.html) introduces checkpoints early on, but then completely ignores them. As it currently stands, the documentation states that BACKWARD compatibility is relative to the previous schema version, not the checkpoint (which is the behavior the OP and I observe). Can you clarify what is expected here?