Open abhioncbr opened 10 months ago
Good catch!
IMO we should not include ColumnDataType.OBJECT
into FunctionUtils.COLUMN_DATA_TYPE_MAP
(introduced in #8608) because OBJECT
is just a placeholder column data type for intermediate aggregation result, and should not be exposed to the data schema. @walterddr Can you also double check if we can remove it?
good point. let me double check and see if the planner side have any side effect if we remove.
ScalarTransformFunctionWrapper
throws an exception for any transformation function withObject
return type. for example,casewhen
orcast
Here is one such stack trace:
this was introduced with the PR, specific code change