Skip to content

najeira/bigquery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

bigquery

A client for sending rows to BigQuery.

This is NOT stable.

Usage

// create a writer with parameters
writer := bigquery.NewWriter("your project", "your dataset", "your table")

// connect to BigQuery
err := writer.Connect("your account", pem)
if err != nil {
	// authorization failed
	return err
}

// add rows
writer.Add("insert id", row)
...
writer.Add("insert id", row)

// wait sending
writer.Wait()

License

New BSD License.

About

Streaming insert to BigQuery by Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages