bigquerycommon

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DryRunQuery

func DryRunQuery(ctx context.Context, restService *bigqueryrestapi.Service, projectID string, location string, sql string, params []*bigqueryrestapi.QueryParameter, connProps []*bigqueryapi.ConnectionProperty) (*bigqueryrestapi.Job, error)

DryRunQuery performs a dry run of the SQL query to validate it and get metadata.

func TableParser

func TableParser(sql, defaultProjectID string) ([]string, error)

TableParser is the main entry point for parsing a SQL string to find all referenced table IDs. It handles multi-statement SQL, comments, and recursive parsing of EXECUTE IMMEDIATE statements.

Types

This section is empty.

Jump to

Keyboard shortcuts

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