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/08 23:11:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16642587#comment-16642587 ]
Andrew Wong commented on KUDU-2598:
-----------------------------------
cc [~jtbirdsell] This is breaking a bunch of our test executions, and seems related to [https://gerrit.cloudera.org/c/11557/] but I don't have context surrounding the patch, and Adar is OOO at the moment. From the message, it seems like types[2] is a regular old python object instead of a numpy float, but not sure why. Any thoughts?
> 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
> Priority: Major
> 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)