133b555f500d4d536c00f71d0946f8a19070109d,google/datalab/bigquery/_udf.py,UDF,_build_udf,#Any#Any#Any#Any#Any#Any#,73

Before Change


      

    if imports and language != "js":
      raise Exception("Imports are available for Javascript UDFs only")

    params = ",".join(["%s %s" % named_param for named_param in params])
    imports = ",".join(["library="%s"" % i for i in imports])

After Change


      imports: a list of GCS paths containing further support code.
      

    params = ",".join(["%s %s" % named_param for named_param in params.items()])
    imports = ",".join(["library="%s"" % i for i in imports])

    udf = "CREATE TEMPORARY FUNCTION {name} ({params})\n" +\
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: googledatalab/pydatalab
Commit Name: 133b555f500d4d536c00f71d0946f8a19070109d
Time: 2017-05-17
Author: yebrahim@users.noreply.github.com
File Name: google/datalab/bigquery/_udf.py
Class Name: UDF
Method Name: _build_udf


Project Name: dmlc/dgl
Commit Name: 53629082360101f206118a045b07f743e6b6feec
Time: 2020-08-12
Author: VoVAllen@users.noreply.github.com
File Name: python/dgl/data/graph_serialize.py
Class Name:
Method Name: load_graphs


Project Name: apache/incubator-tvm
Commit Name: d164aac058eff0101a043690ca24f374b3900e7e
Time: 2020-11-05
Author: tristan.konolige@gmail.com
File Name: python/tvm/script/parser.py
Class Name: TVMScriptParser
Method Name: parse_arg_list