Skip to content

Tag: amazon-athena

Athena UNION – do I need to define struct columns?

I have a bunch of tables in Athena that contain structs with different nested columns. I’d like to query from all of those tables as a single table (ie, a union view) and I’d like to be able to return the nested column from the struct only if it exists, otherwise return a null. Example: I’d …