All skills
google avatar

/bigquery-basics

@becc4b8
by googlegoogle/skills21k stars
1,698

Manages datasets, tables, and jobs in BigQuery. Use when you need to interact with BigQuery, run SQL queries, manage BigQuery resources (datasets, tables, views), or perform basic data ingestion and analysis.

Use this Skill: https://skilld.dev/gh/google/skills/bigquery-basics

This session only. Nothing lands on disk.

referencesiac-usage.md

≈445 tokens on demand. Your agent reads this file only when SKILL.md points to it.

BigQuery Infrastructure as Code

Managing BigQuery resources using Infrastructure as Code (IaC) ensures consistency and repeatability across environments.

Terraform

The Google Cloud Terraform provider supports BigQuery datasets, tables, jobs, and reservations.

Dataset and Table Example

resource "google_bigquery_dataset" "dataset" {
  dataset_id                  = "example_dataset"
  friendly_name               = "test"
  description                 = "This is a test description"
  location                    = "US"
  default_table_expiration_ms = 3600000

  labels = {
    env = "default"
  }
}

resource "google_bigquery_table" "default" {
  dataset_id = google_bigquery_dataset.dataset.dataset_id
  table_id   = "example_table"

  time_partitioning {
    type = "DAY"
  }

  labels = {
    env = "default"
  }

  schema = <<EOF
[
  {
    "name": "name",
    "type": "STRING",
    "mode": "REQUIRED",
    "description": "The user's name"
  },
  {
    "name": "age",
    "type": "INTEGER",
    "mode": "NULLABLE",
    "description": "The user's age"
  }
]
EOF
}

Reference Documentation

YAML Samples

BigQuery resources can also be managed via Deployment Manager or other tools using YAML configurations.

Source: SKILL.md on GitHub

No alerts10d3 checks · Risk SAFE
  • Gen Agent Trust Hub10d

    This skill provides comprehensive guidance for managing Google BigQuery resources, including CLI usage, client libraries, and infrastructure as code. It implements standard vendor practices for command attribution and emphasizes security best practices such as the principle of least privilege. No security issues were detected.

  • Socket10d

    No alerts

  • Snyk10d

    Risk: LOW · No issues

Signed by skilld at becc4b8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 weeks ago
metadata
{
  "version": "1.0.0",
  "category": "BigDataAndAnalytics"
}

README badge

README badge for google/skills/bigquery-basics