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

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

Will Berkeley created KUDU-2598:
-----------------------------------

             Summary: 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
         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)