WN 0007 - Nested Computations #1428
Replies: 2 comments
-
I think pretty much all of this sounds good to me, except the exact syntax. I don't like making "return" a special name — that would mean that if you had a table with a column called Two possible other syntaxes (I like # 1 better)
I imagine we'll start adding other prefixes like Value could be named or unnamed.
Downsides:
|
Beta Was this translation helpful? Give feedback.
-
It seems like the Nested Sources section should be its own WN? |
Beta Was this translation helpful? Give feedback.
-
Malloy produces nested data. To access nested data today, malloy implicitly unnests while guaranteeing computational accuracy. There are times when we'd like to make computations against nested data without unnesting (count the number of occurrences with a filter) or to transform the nested data or to unnest the data more than once (to find co-occurrence).
https://github.com/malloydata/whatsnext/blob/main/wns/WN-0007/wn-0007.md
Beta Was this translation helpful? Give feedback.
All reactions