tornadoes

command
Version: v2.34.0-RC1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0, BSD-3-Clause, MIT 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}.

Source Files

Jump to

Keyboard shortcuts

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