unytics/bigfunctions

[new]: `get_value(key_value_items, key)`

unytics opened this issue · 1 comments

Check the idea has not already been suggested

Edit the title above with self-explanatory function name and argument names

  • The function name and the argument names I entered in the title above seems self explanatory to me.

BigFunction Description as it would appear in the documentation

Return value at key key from key_value_items array

Examples of (arguments, expected output) as they would appear in the documentation

  • get_value([struct("k" as key, 1 as value)], "k") --> 1
  • get_value([struct("k" as key, 1 as value)], "a") --> null

congrats @LEPINET