Skip to content

malloydata/bigquery_jobs

Repository files navigation

BigQuery Jobs Analysis

This is a Data Model for the information_schema.jobs in BigQuery. It queries the BigQuery Information Schema to give you information about how your internal users are using BigQuery. What queries are they running, how much compute are they using, and which tables are the most frequently queried?

Getting Started:

  1. Open up Google Cloud Code
  2. Install the Malloy VS Code extension in your Cloud Code IDE
  3. Clone this Git repository in your Cloud Code IDE
  4. Modify config.malloy to point to your data
  5. Open up the dashboard.malloynb file and run all the queries in the notebook.

Using Malloy for Data Transformation

You can use your Malloy model to build governed views in your database, by embedding Malloy queries into CREATE VIEW AS ... SQL statements. The following files show how:

  • Create Views - this script persists a set of views in the database
  • SQL Examples - this script is an example of querying the views created above

About

Model for information_schema.jobs in bigquery.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages