tornadoes

command
v2.24.0-RC1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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 clouddataflow-readonly:samples.weather_stations and can be overridden with {@code --input}.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL