can_evaluate_to_const

Function can_evaluate_to_const 

Source
fn can_evaluate_to_const(args: &[ColumnarValue]) -> bool
Expand description

Check if we can evaluate the expr to constant directly.

ยงExample

SELECT make_map('type', 'test') from test

We can evaluate the result of make_map directly.