package
19.2.10+incompatible
Repository: https://github.com/haseth/cockroach.git
Documentation: pkg.go.dev
# Functions
AvoidConsts causes the Smither to prefer column references over generating constants.
CompareMode causes the Smither to generate statements that have deterministic output.
DisableCRDBFns causes the Smither to disable crdb_internal functions.
DisableImpureFns causes the Smither to disable impure functions.
DisableLimits causes the Smither to disable LIMIT clauses.
DisableMutations causes the Smither to not emit statements that could mutate any on-disk data.
DisableWindowFuncs disables window functions.
DisableWith causes the Smither to not emit WITH clauses.
IgnoreFNs causes the Smither to ignore functions that match the regex.
NewSmither creates a new Smither.
NewWeightedSampler creates a WeightedSampler that produces indexes corresponding to positions in weights.
OutputSort adds a top-level ORDER BY on all columns.
PostgresMode causes the Smither to generate statements that work identically in Postgres and Cockroach.
SimpleDatums causes the Smither to emit simpler constant datums.
Vectorizable causes the Smither to limit query generation to queries supported by vectorized execution.
# Constants
SeedTable is a SQL statement that creates a table with most data types and some sample rows.
VecSeedTable is like SeedTable except only types supported by vectorized execution are used.
# Structs
Context holds information about what kinds of expressions are legal at a particular place in a query.
Smither is a sqlsmith generator.
WeightedSampler is a weighted sampler.
# Interfaces
SmitherOption is an option for the Smither client.