balajij8
Esteemed Contributor

The cast to VARIANT generally fails because complex types (like STRUCT, ARRAY or MAP) require strict, resolvable data types for serialization as given above. You can open a support request if the current behavior need to be fixed.

View solution in original post