tornadoes command

tornadoes is an example that reads the public samples of weather data from BigQuery, counts the number of tornadoes that occur in each month, and writes the results to BigQuery.

Concepts: Reading/writing BigQuery; Using Go types for better type-safety.

Note: Before running this example, you must create a BigQuery dataset to contain your output table as described here:

https://cloud.google.com/bigquery/docs/tables#create-table

To execute this pipeline locally, specify the BigQuery table for the output with the form:

--output=YOUR_PROJECT_ID:DATASET_ID.TABLE_ID

The BigQuery input table defaults to apache-beam-testing.samples.weather_stations and can be overridden with {@code --input}.

Version
v2.65.0 (latest)
Published
May 6, 2025
Platform
linux/amd64
Imports
10 packages
Last checked
1 day ago

Tools for package owners.