kjmrknsn / bigquery-utils

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

Home Page:https://cloud.google.com/bigquery/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  • Scripts - Python, Shell, & SQL scripts
    • billing - Example queries over the GCP billing export
  • Stored Procedures - Example stored procedures
  • 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

All 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.

https://cloud.google.com/bigquery/

License:Apache License 2.0


Languages

Language:HTML 59.4%Language:Java 23.0%Language:Kotlin 6.5%Language:TSQL 4.5%Language:Python 2.9%Language:TypeScript 2.6%Language:Shell 0.5%Language:JavaScript 0.2%Language:PLpgSQL 0.1%Language:PLSQL 0.1%