Module types

Source
Expand description

This module provides utility functions for SQL data type conversion and manipulation.

Constantsยง

TYPE_MATRIX ๐Ÿ”’

Functionsยง

array_type
Maps a data type to its corresponding array type name.
data_type
Maps a data type to its corresponding data type name.
expand_type_wildcard
Expands a type wildcard string into a list of concrete types.
is_primitive
Checks if a data type is primitive.
lookup_matrix ๐Ÿ”’
min_compatible_type
Computes the minimal compatible type between a pair of data types.
owned_type
Maps a data type to its corresponding Scalar type name.
ref_type
Maps a data type to its corresponding ScalarRef type name.