Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Which flavour/version of JavaScript is used by BigQuery UDFs?

I've looked through the docs and can't find any information about it:
https://cloud.google.com/bigquery/docs/reference/standard-sql/user-defined-functions#javascript-udf-...

Can someone from Google confirm which flavour (is it node?) / version of JavaScript is used by Google for UDFs?

Reason: I want to create & test functions locally (can be done in a continuous way more easily than via BigQuery) and once I'm happy with their result, create UDFs in BigQuery, thus if I could use the same flavour/version as BigQuery it would help ensure consistency results when I transition from local environment to BigQuery

Solved Solved
0 2 638
1 ACCEPTED SOLUTION

ricconoel
Former Googler

Hi,

Unfortunately we cannot share this information publicly, but rest assured that the latest version of javascript is being used. The best advice I can give is to pattern your UDFs based on the javascript best practices for UDFs.

View solution in original post

2 REPLIES 2

ricconoel
Former Googler

Hi,

Unfortunately we cannot share this information publicly, but rest assured that the latest version of javascript is being used. The best advice I can give is to pattern your UDFs based on the javascript best practices for UDFs.

So much secrecy 😞