You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Daniel Becker (Jira)" <ji...@apache.org> on 2020/07/09 08:37:00 UTC

[jira] [Resolved] (IMPALA-7923) DecimalValue should be marked as packed

     [ https://issues.apache.org/jira/browse/IMPALA-7923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Becker resolved IMPALA-7923.
-----------------------------------
    Resolution: Fixed

> DecimalValue should be marked as packed
> ---------------------------------------
>
>                 Key: IMPALA-7923
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7923
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Backend
>    Affects Versions: Impala 3.1.0
>            Reporter: Tim Armstrong
>            Assignee: Daniel Becker
>            Priority: Major
>
> 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
(v8.3.4#803005)