mimir icon indicating copy to clipboard operation
mimir copied to clipboard

`UNNEST`

Open okennedy opened this issue 7 years ago • 1 comments

It would be nice to have an UNNEST operator, essentially an inverse aggregate (one row/cell to many).

Examples:

  • Iterate over the elements of a JSON array
  • Regexp matches in a given object
  • Fields of a CSV

SQLite already supports something of this flavor (e.g.,. The JSON TVFs), but the way it's implemented is a violation of classical SQL (so it's going to need a special implementation within Mimir).

okennedy avatar May 05 '17 22:05 okennedy

Spark also has this functionality. It should be much easier now.

okennedy avatar Jul 31 '19 18:07 okennedy