package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

CopyBatch copies the original batch and returns that copy.
NewRandomDataOp creates a new randomDataOp.
RandomBatch returns a batch with a capacity of capacity and a number of random elements equal to length (capacity if length is 0).
RandomBatchWithSel is equivalent to RandomBatch, but will also add a selection vector to the batch where each row is selected with probability selProbability.
RandomSel creates a random selection vector up to a given batchSize in length.
RandomVec populates vector with random values, setting each value to null with the given probability.

# Structs

RandomDataOpArgs are arguments passed in to randomDataOp.
RandomVecArgs is a utility struct that contains arguments to RandomVec call.