Dataflow platforms such as Spark and Flink allow programmers to manipulate sets
consisting of objects from a host programming language (often Java). Document databases
such as MongoDB make use of hierarchical interchange formats---most popularly JSON---
which embody a data model where individual records can themselves contain sets of
records. Systems such as Dremel and AsterixDB allow complex nesting of data structures …