Adds/replaces fields in a struct.
Adds/replaces fields in a struct. Returns null if struct is null. If multiple fields already exist with the one of the given fieldNames, they will all be replaced.
Drops one or more fields in struct.
Drops one or more fields in struct. Returns null if struct is null. Returns empty struct if all fields in struct are dropped. This is a no-op if schema doesn't contain given field name(s). If there are multiple fields with one of the given names, they will all be dropped.
Renames StructFields in StructType.
Renames StructFields in StructType. Returns null if struct is null. This is a no-op if schema doesn't contain any fields with existingFieldNames. If there are multiple fields with existingFieldName, they will all be renamed.