bq

package
v0.0.0-...-9994f1b Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package bq implements bigquery-related logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPSTTimeStamp

func GetPSTTimeStamp(t time.Time) string

GetPSTTimeStamp returns the PST timestamp for bq table.

func InitBQUploader

func InitBQUploader(ctx context.Context, project, dataset, table string) (*bq.Uploader, error)

InitBQUploader initialize a bigquery uploader.

func InitBQUploaderWithClient

func InitBQUploaderWithClient(ctx context.Context, client *bigquery.Client, dataset, table string) *bq.Uploader

InitBQUploaderWithClient initialize a bigquery uploader with a given bigquery client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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