Skip to content

Useful scripts, udfs, views, and other utilities for migration and data warehouse operations in BigQuery.

License

Notifications You must be signed in to change notification settings

tartas1/bigquery-utils

 
 

Repository files navigation

BigQuery Utils

BigQuery is a serverless, highly-scalable, and cost-effective cloud data warehouse with an in-memory BI Engine and machine learning built in. This repository provides useful utilities to assist you in migration and usage of BigQuery.

Open in Cloud Shell

Getting Started

This repository is broken up into:

  • Dashboards - Pre-built dashboards for common use cases
  • Performance Testing - Examples for doing performance testing
    • JMeter - Examples for using JMeter to test BigQuery performance
  • Scripts - Python, Shell, & SQL scripts
    • billing - Example queries over the GCP billing export
    • optimization - Scripts to help identify areas for optimization in your BigQuery warehouse.
  • Stored Procedures - Example stored procedures
  • Third Party - Relevant third party libraries for BigQuery
    • compilerworks - BigQuery UDFs which mimic the behavior of proprietary functions in other databases
  • Tools - Custom tooling for working with BigQuery
  • UDFs - User-defined functions for common usage as well as migration
  • Views - Views over system tables such as audit logs or the INFORMATION_SCHEMA
    • query_audit - View to simplify querying the audit logs which can be used to power dashboards (example).

Public UDFs

For more information on UDFs and using those provided in the repository with BigQuery, see the README in the udfs folder.

Contributing

See the contributing instructions to get started contributing.

To contribute UDFs to this repository, see the instructions in the udfs folder.

License

Except as otherwise noted, the solutions within this repository are provided under the Apache 2.0 license. Please see the LICENSE file for more detailed terms and conditions.

Disclaimer

This repository and its contents are not an official Google Product.

About

Useful scripts, udfs, views, and other utilities for migration and data warehouse operations in BigQuery.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 39.0%
  • Python 25.2%
  • JavaScript 12.5%
  • Kotlin 7.1%
  • C++ 6.0%
  • Shell 3.5%
  • Other 6.7%