arquivei / bigqueryudf

An Cloud Function interface wrapper that could be used as UDF in Big Query

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bigqueryudf

An Cloud Function interface wrapper that could be used as UDF in Big Query

This implementation uses http interface and bigquery entities expected inside a Cloud Function

TL;DR

func init() {
	functions.HTTP("bigquery", bigqueryudf.NewHandler(transformationExample))
}

func transformationExample(input []byte) (any, error) {
	return "hello world", nil
}

To understand more about how to use this project, there are some examples

Comments, discussions, issues and pull-requests are welcomed.

About

An Cloud Function interface wrapper that could be used as UDF in Big Query

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%