We're working on using the actual JSONSchemas to create EventLogging Hive tables. Some EventLogging schemas have array fields, but they specify the items schema of those fields as arrays, e.g.
CentralNoticeBannerHistory
"on": { "description": "Enabled languages among all user selected languages.", "type": "array", "required": false, "items": [ { "type": "string", "description": "Language code", "required": false } ] },
This makes it incompatible with Hive, where a given field can only have a single type. Can we edit the offending schemas so that they specify items as an object, e.g.
"on": { "description": "Enabled languages among all user selected languages.", "type": "array", "required": false, "items": { "type": "string", "description": "Language code", "required": false } },
?
This was caused by an old bug in the EventLogging extension that prevented users from properly specifying array items types. We have fixed the bug, so we should be able to fix the schemas now.
IIUC, this should be compatible with existing events.
So far I've found: