Tim Armstrong created IMPALA-7923:
-------------------------------------
Summary: DecimalValue should be marked as packed
Key: IMPALA-7923
URL: https://issues.apache.org/jira/browse/IMPALA-7923
Project: IMPALA
Issue Type: Bug
Components: Backend
Affects Versions: Impala 3.1.0
Reporter: Tim Armstrong
IMPALA-7473 was a symptom of a more general problem that DecimalValue is not
guaranteed to be aligned by the Impala runtime, but the class is not marked as
packed and, under some circumstances, GCC will emit code for aligned loads to
value_ when value_ is an int128.
Testing helps confirm that the compiler does not emit the problematic loads in
practice, but it would be better to mark the struct as packed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]