简体   繁体   English

BigQuery - Python UDF

[英]BigQuery - Python UDF

Is it now possible to define Python UDFs in BigQuery?现在可以在 BigQuery 中定义 Python 个 UDF 了吗? If not is it on the roadmap for soon?如果不是,它是否会很快出现在路线图上?

The last ticket saying that only JavaScript can be used is from 2018 [1].最后一张说只能用JavaScript的票是2018年的[1]。

[1] BigQuery UDF in Python or only in JavaScript [1] BigQuery UDF 在 Python 或仅在 JavaScript

Now it's not possible, only SQL and JavaScript are supported natively in BigQuery .现在不可能了, BigQuery支持SQLJavaScript

But a feature added recently, allows using an udf based on a Cloud Function or Cloud Run service (Remote Functions).但最近添加的一项功能允许使用基于Cloud FunctionCloud Run服务(远程功能)的 udf。

It give more flexibility and allows using an udf with your preferred language.它提供了更大的灵活性,并允许将 udf 与您的首选语言一起使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM