Skip to Content
Learning Google BigQuery
book

Learning Google BigQuery

by Thirukkumaran Haridass, Eric Brown
December 2017
Beginner to intermediate
264 pages
5h 38m
English
Packt Publishing
Content preview from Learning Google BigQuery

Mastering transformation with User-Defined Functions

All of the functions listed so far in this chapter are built-in functions in BigQuery. They are fully supported by Google and were created to handle the common tasks most analysts have to deal with. With that said, from time to time, situations will arise where these common functions will not suffice. Usually, the analyst will need to create a very intricate query to deal with these situations. For this, Google has created UDFs (user-defined functions). UDFs allow users to temporarily create their own functions using the standard functions included in BigQuery. These functions can then be called throughout the rest of the query using only the name of the function as well as the input.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Google BigQuery: The Definitive Guide

Google BigQuery: The Definitive Guide

Valliappa Lakshmanan, Jordan Tigani
Google BigQuery Analytics

Google BigQuery Analytics

Siddartha Naidu, Jordan Tigani

Publisher Resources

ISBN: 9781787288591Supplemental Content