In the 1.0.0 page-restrictions-change schema created for the migration to EventGate, I changed the page_restrictions field the unsupported patternProperties to our (newly) supported additionalProperties { type: string} AKA map type.
This works, except for the mediawiki_page_restrictions_change Hive table already has the page_restrictions field as a struct. I think this table probably should have previously been blacklisted from Refine. It will work fine now though.
We either need to drop all existing Hive data and start from scratch (fine with me, as AFAIK no one uses this table, and it wasn't really compatible with Refine in the first place...), OR convert all the existing data to the new schema. I'm not entirely sure how to do the conversion from struct to map in a Hive query, so we'll probably need to do a transform in Spark.