For schema history, is it intended that a change i...
# ingestion
b
For schema history, is it intended that a change in field TYPE for an existing column do not get a version increment in the history? When adding new fields/removing new fields I see the version increment, but not for type changes. (Though, my schema changes are done it via MCP emits, so not sure if that is the cause)
e
Hey @better-orange-49102 the version should be incremented for type changes as well
Would you mind telling me what the type change was from/to?
b
Hmm I need to double check again later, but I changed the native type of the field and emited a MCP. The MCP is programmatically created though.
e
Ah I see, let me see if I can repro this then
b
hmm tested it on my v0.8.38-ish version (cos i pulled merge from master branch into my implementation): 1. adding/removing a new field increments the version 2. changing the nativetype does increment 3. Change the field type of the field without changing the nativeType does not increment.
i guess it is logical that a fieldType change would be accompanied by a nativeType change, if Datahub were to query it in the database (and thus incrementing it) but my use case is for users to edit it manually in UI.