You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Andrew Wong (JIRA)" <ji...@apache.org> on 2018/10/09 00:47:00 UTC

[jira] [Resolved] (KUDU-2598) TestScanner.test_scanner_to_pandas_index failed on CentOS 6.6

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

Andrew Wong resolved KUDU-2598.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.8.0

Seems the issue was pretty simple. Merged asĀ 4de4347

> TestScanner.test_scanner_to_pandas_index failed on CentOS 6.6
> -------------------------------------------------------------
>
>                 Key: KUDU-2598
>                 URL: https://issues.apache.org/jira/browse/KUDU-2598
>             Project: Kudu
>          Issue Type: Bug
>          Components: python
>    Affects Versions: 1.8.0
>            Reporter: Will Berkeley
>            Assignee: Andrew Wong
>            Priority: Major
>             Fix For: 1.8.0
>
>         Attachments: jenkins_output.txt
>
>
> The failure:
> =================================== FAILURES ===================================
> ___________________ TestScanner.test_scanner_to_pandas_index ___________________
> self = <kudu.tests.test_scanner.TestScanner testMethod=test_scanner_to_pandas_index>
>     @pytest.mark.skipif((not(kudu.CLIENT_SUPPORTS_PANDAS) and
>                         (not(kudu.CLIENT_SUPPORTS_DECIMAL))),
>                         reason="Pandas and Decimal support required to run this test.")
>     def test_scanner_to_pandas_index(self):
>         """
>             This test confirms that a decimal column is coerced to a double when specified.
>             """
>         import numpy as np
>         scanner = self.type_table.scanner()
>         df = scanner.to_pandas(coerce_float=True)
>         types = df.dtypes
> >       self.assertEqual(types[2], np.float64)
> E       AssertionError: dtype('O') != <type 'numpy.float64'>
> kudu/tests/test_scanner.py:396: AssertionError
> ===================== 1 failed, 91 passed in 3.46 seconds ======================
> Full log attached



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