Module sql_types

Module sql_types 

Source
Expand description

SQL data type classification helpers shared across SQL-facing crates.

This module centralizes the mapping from sqlparser data types to the compact families our runtime, loader tooling, and planner adapters care about. Keeping the mapping in one place avoids duplicating large match statements every time a new SQL type lands, and it makes downstream crates independent of the full sqlparser enum surface.

Enums§

SqlTypeFamily
Reduced set of SQL type families that matter for literal conversion and row-shaping utilities.

Functions§

classify_sql_data_type
Classify a sqlparser DataType into one of the planner-friendly families.