You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2018/06/19 17:33:00 UTC

[jira] [Resolved] (IMPALA-3308) Get expr-test passing on PPC64LE

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

Tim Armstrong resolved IMPALA-3308.
-----------------------------------
    Resolution: Fixed

commit 9cee2b5f1376ad6286ed65edffe6d152a0012cf1
Author: segelyang <zh...@cn.ibm.com>
Date:   Wed Aug 31 18:13:17 2016 +0800

    IMPALA-3308: Get expr-test passing on PPC64LE
    
    When using gcc 5+ (which introduced a new library ABI that includes new
    implementations of std::string) to build Impala, the copy of the class
    ExprValue(std::string) would be unsafe as string_val.ptr will not be
    updated to point to the relocated string_data.data().
    
    In order to solve this issue, we need to change how we initialize value_
    so that it is initialized in-place, rather than created as a temporary
    on the stack and then copied.
    
    Change-Id: I4504ee6a52a085f530aadfcfa009bacb83c64787
    Reviewed-on: http://gerrit.cloudera.org:8080/4186
    Reviewed-by: Tim Armstrong <ta...@cloudera.com>
    Tested-by: Internal Jenkins


> Get expr-test passing on PPC64LE
> --------------------------------
>
>                 Key: IMPALA-3308
>                 URL: https://issues.apache.org/jira/browse/IMPALA-3308
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Backend
>    Affects Versions: Impala 2.5.0
>         Environment: Ubuntu 15.10 , architecture: ppc64le
>            Reporter: Nishidha
>            Assignee: Yang Zhi Zhi
>            Priority: Minor
>         Attachments: 0001-Fix-exprs-string-test-garbage-characters-with-gcc-5.patch
>
>
> On ppc64le, expr-test fails.
> Attached is the log. The log contains a few additional statements logged.
> Query: select 'test' is giving incorrect results as can be seen in logs. Looks like some string related issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org