Last active
March 11, 2020 14:49
-
-
Save rizz0/1cfb92f3864e04008f06a5b248c45e09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE FUNCTION `bigquery-project.dataSet.countParticipants` | |
( | |
arr STRUCT<name STRING, score FLOAT64> | |
) | |
RETURNS NUMERIC LANGUAGE js AS """ | |
return arr.length; | |
"""; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment