Page MenuHomePhabricator

Event Platform schemas should not support type changes to structs as array element or map value types
Closed, ResolvedPublic5 Estimated Story Points

Description

There are complicated issue when we try alter Hive & Iceberg tables that have structs as array or map value element types.

Complicated context in:

Currently jsonschema-tools will allow for backwards compatible changes to array and map element struct types.

We should make a configurable change to jsonschema-tools that will fail if a user tries to make a change to a struct element type.

Without this change, it is possible for Event Platform users to make schema changes that will cause our event ingestion pipeline (Refine) to fail.

Done is

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Bump jsonschema-tools and ignore failing schemasrepos/data-engineering/schemas-event-primary!16tchinbump-jsonschema-tools-1.6.0master
Bump jsonschema-tools and ignore failing schemasrepos/data-engineering/schemas-event-secondary!73tchinbump-jsonschema-tools-1.6.0master
Do not support type changes to structs as array element or map value typesrepos/data-engineering/jsonschema-tools!58tchinfail-struct-type-changemaster
Customize query in GitLab

Related Objects

Event Timeline

Ottomata updated the task description. (Show Details)
tchin changed the task status from Open to In Progress.Jul 30 2025, 3:55 AM