Versions in this module Expand all Collapse all v0 v0.60.0 Oct 5, 2026 Changes in this version + const MaxInputBytes + var ErrIdentity = errors.New(...) + var ErrInput = errors.New("invalid BigQuery input: expected bounded typed JSON") + func Decode(r io.Reader, target any) error + func DecodeLimit(r io.Reader, target any, limit int) error + func Guard(query dal.Query) error + type Column struct + Field string + type Condition struct + And []Condition + IsNotNull *Column + IsNull *Column + Left *Expression + Op string + Or []Condition + Right *Expression + type Expression struct + Field string + Param string + Value json.RawMessage + type From struct + Name string + type GoogleProvider struct + func NewADCProvider(dir string, enableCancel bool) (*GoogleProvider, error) + func NewGoogleProvider(dir string, enableCancel bool) (*GoogleProvider, error) + func (p *GoogleProvider) Authorize(ctx context.Context, guarded http.RoundTripper) (bigquery.Identity, http.RoundTripper, error) + func (p *GoogleProvider) AuthorizeToken(ctx context.Context, token *oauth2.Token, guarded http.RoundTripper) (bigquery.Identity, http.RoundTripper, error) + type Input struct + Profile bigquery.SourceProfile + Query QueryShape + func (in Input) DALQuery() (dal.Query, error) + type Order struct + Desc bool + Field string + type Preparer struct + Input Input + Options func() (accesspolicies.Options, error) + func (p Preparer) Prepare(ctx context.Context) (bigquery.ReadPlan, string, error) + func (p Preparer) PrepareWithReport(ctx context.Context) (bigquery.ReadPlan, string, []accesspolicies.Line, error) + type QueryShape struct + Columns []Column + From From + Limit int + OrderBy []Order + Where *Condition