You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Thomas Tauber-Marshall (JIRA)" <ji...@apache.org> on 2017/05/04 15:48:04 UTC

[jira] [Resolved] (IMPALA-5262) test_sort.py::test_analytic_order_by_random fails with assert

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

Thomas Tauber-Marshall resolved IMPALA-5262.
--------------------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 2.9.0

commit 698f4a34c612985df9ffcf9a9a666ee6c38c5679
Author: Thomas Tauber-Marshall <tm...@cloudera.com>
Date:   Mon May 1 16:13:40 2017 -0700

    IMPALA-5262: test_analytic_order_by_random fails with assert
    
    This was a poorly written test that relies on assumptions about
    the behavior of 'rand' and the order that rows get processed in
    a table that Impala doesn't actually guarantee.
    
    The new version is still sensitive to the precise behavior of
    'rand()', but shouldn't be flaky unless that behavior is changed.
    
    Change-Id: If1ba8154c2b6a8d508916d85391b95885ef915a9
    Reviewed-on: http://gerrit.cloudera.org:8080/6775
    Reviewed-by: Alex Behm <al...@cloudera.com>
    Tested-by: Impala Public Jenkins

> test_sort.py::test_analytic_order_by_random fails with assert
> -------------------------------------------------------------
>
>                 Key: IMPALA-5262
>                 URL: https://issues.apache.org/jira/browse/IMPALA-5262
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 2.9.0
>            Reporter: Joe McDonnell
>            Assignee: Thomas Tauber-Marshall
>            Priority: Blocker
>              Labels: broken-build
>             Fix For: Impala 2.9.0
>
>
> test_analytic_order_by_random hit a failure on local filesystem build:
> query_test/test_sort.py:197: in test_analytic_order_by_random
>     assert results == analytic_results
> E   assert [['2', '5', '...1', '0', ...]] == [['4', '3', '7...1', '0', ...]]
> E     At index 0 diff: ['2', '5', '7', '3', '1', '0', '6', '4'] != ['4', '3', '7', '5', '1', '0', '6', '2']
> This test was introduced in IMPALA-4731/IMPALA-397/IMPALA-4728, which merged recently.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)