You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support map type casting for numeric type and null type element #3389
select map_contains_key(map_from_arrays(array(1, 2), array('a', 'b')), 5.0)
Expected only Comet native operators, but found Project.
plan: Project [COMET: Cast from MapType(IntegerType,StringType,false) to MapType(DecimalType(11,1),StringType,false) is not supported]
+- Scan OneRowRelation
select map_contains_key(map_from_arrays(array(), array()), 0)
Expected only Comet native operators, but found Project.
plan: Project [COMET: Cast from MapType(NullType,NullType,false) to MapType(IntegerType,NullType,false) is not supported]
+- Scan OneRowRelation
Activity
[-]Support map type numeric casting[/-][+]Support map type casting for numeric type and null type element[/+]comphead commentedon Jun 12, 2026
Thanks @peterxcli for reporting this
peterxcli commentedon Jun 21, 2026
@comphead please feel free to ping me when the patch is ready, Thanks!