Peter Rozsa created IMPALA-11861:
------------------------------------
Summary: Impala*Writable methods are not overridden to handle the
heap-stored values
Key: IMPALA-11861
URL: https://issues.apache.org/jira/browse/IMPALA-11861
Project: IMPALA
Issue Type: Bug
Components: Frontend
Affects Versions: Impala 4.3.0
Reporter: Peter Rozsa
Impala writable types are extending Hive's writable types but their real values
are stored on the native heap, therefore every method that is coming from their
parents should be overridden with an explicit get() which does an indirection
through UnsafeUtils to the heap.
For example; ImpalaDoubleWritable's toString is used in a UDF, but since
there's no override present in the class, the original value from the Hive
class will be stringified and returned, which is, in Impala's case always will
be a zero-initialized value.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)