Expand description
Rerun arrow metadata and record batch definitions.
Handles the structure of arrow record batches and their meta data for different use cases for Rerun.
An arrow record batch that follows a specific schema is called a SorbetBatch
.
Some SorbetBatch
es has even more constrained requirements, such as ChunkBatch
and DataframeBatch
.
- Every
ChunkBatch
is aSorbetBatch
. - Every
DataframeBatch
is aSorbetBatch
.
NOTE: DataframeBatch
has not yet been implemented.
Each batch type has a matching schema type:
SorbetBatch
has aSorbetSchema
ChunkBatch
has aChunkSchema
DataframeBatch
will have aDataframeSchema
Modulesยง
- chunk_
batch ๐ - chunk_
schema ๐ - column_
descriptor ๐ - column_
kind ๐ - error ๐
- ipc ๐
- metadata ๐
- migration ๐Handles migrating old
re_types
to new ones. - sorbet_
batch ๐ - sorbet_
columns ๐ - sorbet_
schema ๐
Structsยง
- The [
ArrowRecordBatch
] representation of a Rerun chunk. - The parsed schema of a Rerun chunk, i.e. multiple columns of data for a single entity.
- Describes a data/component column, such as
Position3D
, in a dataframe. - Describes a time column, such as
log_time
. - Describes the schema of the primary [
RowId
] column. - Any rerun-compatible [
ArrowRecordBatch
]. - The parsed schema of a
SorbetBatch
.
Enumsยง
- The type of
SorbetBatch
. - The type of column in a sorbet batch.
Traitsยง
- Make it more ergonomic to work with arrow metadata.
Functionsยง
- Encode an arrow schema as IPC bytes.
- Migrate old renamed types to new types.
- Decode an arrow schema from IPC bytes.
Type Aliasesยง
- Arrow metadata for an arrow record batch.
- Arrow metadata for a column/field.