check

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InconsistentField added in v0.10.0

type InconsistentField struct {
	Table string

	DimensionID string

	FactTime       string
	DimensionRange string
}

InconsistentField represents an inconsistent field.

func Inconsistent added in v0.10.0

func Inconsistent(ctx context.Context, tx sqlx.QueryerContext) ([]InconsistentField, error)

Inconsistent checks for facts with inconsistent time ranges. Those are facts that reference a dimension with a time range that does not include the fact's timestamp.

type MissingField

type MissingField struct {
	Table string

	ID     string
	Source string

	MissingField string
}

MissingField represents a missing field.

func Missing

func Missing(ctx context.Context, tx sqlx.QueryerContext) ([]MissingField, error)

Missing checks for missing fields in the reporting database.

Jump to

Keyboard shortcuts

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