Expand description
Utilities to adapt readers with different schema.
Structsยง
- Compat
Batch ๐ - A helper struct to adapt schema of the batch to an expected schema.
- Compat
Fields ๐ - Helper to make fields compatible.
- Compat
Primary ๐Key - Helper to make primary key compatible.
- Compat
Reader - Reader to adapt schema of underlying reader to expected schema.
- Rewrite
Primary ๐Key - Adapter to rewrite primary key.
Enumsยง
- Index
OrDefault ๐ - Index in source batch or a default value to fill a column.
Functionsยง
- has_
same_ ๐columns_ and_ pk_ encoding - Returns true if
left
andright
have same columns and primary key encoding. - may_
compat_ ๐fields - Creates a CompatFields if needed.
- may_
compat_ ๐primary_ key - Creates a CompatPrimaryKey if needed.
- may_
rewrite_ ๐primary_ key