You can now use persistent and temporary SQL user-defined functions (UDFs) in BigQuery continuous queries to encapsulate and reuse custom real-time transformation logic. Only SQL UDFs are supported in continuous queries.
Text from the Google Cloud release notes, licensed under CC BY 4.0. Source: Google Cloud release notes.