package
23.2.20+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
MakeSimpleTableDescriptor creates a tabledesc.Mutable from a CreateTable parse node without the full machinery.
MakeTestingSimpleTableDescriptor is like MakeSimpleTableDescriptor but it uses parentID and parentSchemaID instead of descriptors.
NewParquetColumn populates a ParquetColumn by finding the right parquet type and defining the encoder and decoder.
NewWorkloadKVConverter returns a WorkloadKVConverter for the given table and range of batches, emitted converted kvs to the given channel.
RoundtripStringer pretty prints the datum's value as string, allowing the parser in certain decoders to work.
TestingSetParallelImporterReaderBatchSize is a testing knob to modify csv input reader batch size.
# Variables
NoFKs is used by formats that do not support FKs.
# Structs
ExportTestingKnobs contains testing knobs for Export.
ParquetColumn contains the relevant data to map a crdb table column to a parquet table column.
WorkloadKVConverter converts workload.BatchedTuples to []roachpb.KeyValues.