Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
ghx-label-3
Description
There are a lot of generic helpers with missing TYPE_CHAR support. We need to add char to those. The tuple layout is identical to TYPE_FIXED_UDA_INTERMEDIATE and the UDF StringVal type is used the same as TYPE_STRING, so mostly this requires using those code paths for CHAR and doing appropriate testing to ensure that it works (the random query generator may help here!).
E.g.
https://github.com/apache/impala/blob/4a39e7c/be/src/codegen/codegen-anyval.cc#L58
https://github.com/apache/impala/blob/4a39e7c29f7b910c9ae0d622b355e9362c17aaec/be/src/runtime/descriptors.cc#L712