package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# README
This directory contains tests that require the sql
package,
together with common SQL test code.
# Functions
CheckKeyCount checks that the number of keys in the provided span matches numKeys.
CheckKeyCountE returns an error if the number of keys in the provided span does not match numKeys.
CheckKeyCountIncludingTombstoned checks that the number of keys (including those whose tombstones are marked but not GC'ed yet) in the provided span matches the expected number.
CreateKVTable creates a basic table named t.<name> that stores key/value pairs with numRows of arbitrary data.
GenerateAndCheckRedactedExplainsForPII generates num random statements and checks that the output of all variants of EXPLAIN (REDACT) on each random statement does not contain injected PII.
# Structs
CommandFilters provides facilities for registering "TestingCommandFilters" (i.e.