package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
AddDefaultZoneConfig adds an entry for the given id into system.zones.
AddImmediateGCZoneConfig set the GC TTL to 0 for the given table ID.
ArrayStringToSlice converts a string array column to a string slice.
BulkInsertIntoTable fills up table t.test with (maxValue + 1) rows.
CheckTableKeyCount returns the number of KVs in the DB, the multiple should be the number of columns.
CheckTableKeyCountExact returns whether the number of keys in t.test equals exactly e.
DisableGCTTLStrictEnforcement sets the cluster setting to disable strict GC TTL enforcement.
GenerateViewBasedGraphSchema generates a complex nested schema that takes the following form:
1.
GetTableKeyCount returns the number of keys in t.test.
IsClientSideQueryCanceledErr returns whether err is a client-side QueryCanceled error.
PGXConn is a helper to create a pgx.Conn from a url.
SetShortRangeFeedIntervals is a helper to set the cluster settings pertaining to rangefeeds to short durations.
ShowCreateTableTest tests the output for SHOW CREATE TABLE matches the expected values.
TelemetryTest runs the datadriven telemetry tests.
UpdateGCZoneConfig sets the GC TTL to a custom value for the given table ID.
# Structs
GenerateViewBasedGraphSchemaParams input parameters for GenerateViewBasedGraphSchema.
ShowCreateTableTestCase is a test case for ShowCreateTableTest.