Expand description
Utilities for casting scalar literals to different data types
This module contains functions for casting ScalarValue literals to different data types, originally extracted from the optimizer’s unwrap_cast module to be shared between logical and physical layers.
Functions§
- is_
supported_ type - Returns true if unwrap_cast_in_comparison supports this data type
- try_
cast_ literal_ to_ type - Convert a literal value from one data type to another