Closed
Description
========================================================= FAILURES ==========================================================
___________________________ TestReadGBQIntegration.test_should_properly_handle_null_integers[env] ___________________________
self = <tests.system.test_gbq.TestReadGBQIntegration object at 0x7fc296a10a90>, project_id = 'swast-scratch'
def test_should_properly_handle_null_integers(self, project_id):
query = "SELECT INTEGER(NULL) AS null_integer"
df = gbq.read_gbq(
query,
project_id=project_id,
credentials=self.credentials,
dialect="legacy",
)
> tm.assert_frame_equal(
df,
DataFrame({"null_integer": pandas.Series([None], dtype="object")}),
)
E AssertionError: Attributes of DataFrame.iloc[:, 0] (column name="null_integer") are different
E
E Attribute "dtype" are different
E [left]: float64
E [right]: object
tests/system/test_gbq.py:143: AssertionError
Metadata
Metadata
Assignees
Labels
No labels