You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spq: |
fn walk(v):
case kind(v)
when "array" then
[unnest v | walk(this)]
when "record" then
unflatten([unnest flatten(v) | {key,value:walk(value)}])
else v+1
end
values walk([{x:[1,2]},{y:3}])
output: |
[{x:[2,3]},{y:4}]