Documentation ¶
Overview ¶
Package bqutil contains utility functions for BigQuery.
Index ¶
Constants ¶
View Source
const InternalDatasetID = "internal"
InternalDatasetID is the name of the BigQuery dataset which is intended for internal service use only.
Variables ¶
This section is empty.
Functions ¶
func ProjectForDataset ¶
ProjectForDataset returns the name of the LUCI Project that corresponds to the given BigQuery dataset.
func TestFailureAnalysisToBqRow ¶
func TestFailureAnalysisToBqRow(ctx context.Context, tfa *model.TestFailureAnalysis) (*bqpb.TestAnalysisRow, error)
TestFailureAnalysisToBqRow returns a TestAnalysisRow for a TestFailureAnalysis. This is very similar to TestFailureAnalysisToPb in protoutil, but we intentionally keep them separate because they are for 2 different purposes. It gives us the flexibility to change one without affecting the others.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.