unflatten
Unflattens data structures whose field names imply a nested structure.
Synopsis
unflatten [<separator>]
Description
The unflatten
operator creates nested records out of record entries whose
names include a separator, thus unflattening
info
unflatten
uses a heuristic to determine the unflattened schema. Thus, the
schema of a record that has been flattened using the flatten
operator and
unflattened afterwards may not be identical to the schema of the unmodified
record.
<separator>
The separator string to unflatten records with.
Defaults to .
.
Examples
Consider the following data:
The unflatten
operator recreates nested records from fields that contain the .
separator: