Error on NULL["field_name"]
: The expression to get an indexed field is only valid for List
, Struct
, or Map
types, got Null
#10654
Labels
Describe the bug
Expr::field is broken for ScalarValue::Null
After #10375 merged
Expr::field
is broken when we try and do it onScalarValue::Null
(in addition to #10565)If you try to use it, you get an error:
To Reproduce
Add this test to expr_fn
Fails with:
Expected behavior
Result should also be a NULL scalar
Additional context
No response
The text was updated successfully, but these errors were encountered: