BigQuery is a serverless, AI-ready data platform that enables high-speed
analysis of large datasets using SQL and Python. Its disaggregated architecture
separates compute and storage, allowing them to scale independently while
providing built-in machine learning, geospatial analysis, and business
intelligence capabilities.
```bash
gcloud services enable bigquery.googleapis.com --quiet
```
```bash
bq mk --dataset --location=US my_dataset
```
Create a file named schema.json with your table schema:
```json
[
{
"name": "name",
"type": "STRING",
"mode": "REQUIRED"
},
{
"name": "post_abbr",
"type": "STRING",
"mode": "NULLABLE"
}
]
```
Then create the table with the bq tool:
```bash
bq mk --table my_dataset.mytable schema.json
```
```bash
bq query --uselegacysql=false \
'SELECT name FROM bigquery-public-data.usa_names.usa_1910_2013 \
WHERE state = "TX" LIMIT 10'
```
workflows, and BigQuery Studio features.
bq command-line tooloperations for managing data and jobs.
client libraries for Python, Java, Node.js, and Go.
Gemini CLI extension.
datasets, tables, and reservations.
governance best practices.
*If you need product information not found in these references, use the
Developer Knowledge MCP server search_documents tool.*
SKILL.md file for BigQuery AI and ML capabilities.
Reference files published for the BigQuery AI and ML skill.