( a FLOAT64, b STRING) RETURNS STRING LANGUAGE js OPTIONS (library=['gs://my-bucket/path/to/lib1.js','gs://my-bucket/path/to/lib2.js']) AS r """ // Assumes 'doInterestingStuff' is defined in one of the library files. return doInterestingStuff(a, b); """ ; SELECT myFunc(3.14,'foo'); UDFを作る際に LANGUAGEでjs を指定 OPTIONSでlibrary にGCS上のライブラ リのpathを指定