bqclient

package
v0.0.0-...-f0891e6 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDataset

func CreateDataset(w io.Writer, projectID string, datasetID string, location string) error

createDataset demonstrates creation of a new dataset using an explicit destination location. See https://cloud.google.com/bigquery/docs/locations

func ImportCSVExplicitSchema

func ImportCSVExplicitSchema(projectID string, datasetID string, tableID string) error

importCSVExplicitSchema demonstrates loading CSV data from Cloud Storage into a BigQuery table and providing an explicit schema for the data.

func ImportCSVFromFile

func ImportCSVFromFile(projectID string, datasetID string, tableID string, filename string) error

importCSVFromFile demonstrates loading data into a BigQuery table using a file on the local filesystem.

func QueryBasic

func QueryBasic(w io.Writer, projectID string, sql string, location string) error

queryBasic demonstrates issuing a query and reading results.

Types

This section is empty.

Jump to

Keyboard shortcuts

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