Expand description
Metadata about tables, columns, and other objects from SQL Server.
§Tables
When creating a SQL Server source we will query system tables from the
upstream instance to get a SqlServerTableRaw
. From this raw information
we create a SqlServerTableDesc
which describes how the upstream table
will get represented in Materialize.
§Rows
With a SqlServerTableDesc
and an mz_repr::RelationDesc
we can
create a SqlServerRowDecoder
which will be used when running a source
to efficiently decode tiberius::Row
s into mz_repr::Row
s.
Modules§
- proto_
sql_ server_ column_ desc - Nested message and enum types in
ProtoSqlServerColumnDesc
.
Structs§
- Proto
SqlServer Column Desc - Proto
SqlServer Table Desc - SqlServer
Capture Instance Raw - Raw capture instance metadata.
- SqlServer
Column Desc - Description of a column from a table in Microsoft SQL Server.
- SqlServer
Column Raw - Raw metadata for a column from a table in Microsoft SQL Server.
- SqlServer
Qualified Table Name - Partially qualified name of a table from Microsoft SQL Server.
- SqlServer
RowDecoder - A decoder from
tiberius::Row
tomz_repr::Row
. - SqlServer
Table Desc - Materialize compatible description of a table in Microsoft SQL Server.
- SqlServer
Table Raw - Raw metadata for a table from Microsoft SQL Server.
- Unsupported
Data Type - The raw datatype from SQL Server is not supported in Materialize.
Enums§
- SqlServer
Column Decode Type - Rust type that we should use when reading a column from SQL Server.
Functions§
- parse_
data_ 🔒type - Parse a raw data type from SQL Server into a Materialize
ScalarType
. - tiberius_
numeric_ 🔒to_ mz_ numeric - Numerics in SQL Server have a maximum precision of 38 digits, where
Numeric
s in Materialize have a maximum precision of 39 digits, so this conversion is infallible.