Skip to content

tests.system.test_gbq.TestReadGBQIntegration: test_struct failed #435

Closed
@flaky-bot

Description

@flaky-bot

This test failed!

To configure my behavior, see the Flaky Bot documentation.

If I'm commenting on this issue too often, add the flakybot: quiet label and
I will stop commenting.


commit: 928e47b
buildURL: Build Status, Sponge
status: failed

Test output
self = 
project_id = 'precise-truck-742'
def test_struct(self, project_id):
    query = """SELECT 1 int_field,
               STRUCT("a" as letter, 1 as num) struct_field"""
    df = gbq.read_gbq(
        query,
        project_id=project_id,
        credentials=self.credentials,
        dialect="standard",
    )
    expected = DataFrame(
        [[1, {"letter": "a", "num": 1}]], columns=["int_field", "struct_field"],
    )
  tm.assert_frame_equal(df, expected)

E AssertionError: Attributes of DataFrame.iloc[:, 0] (column name="int_field") are different
E
E Attribute "dtype" are different
E [left]: Int64
E [right]: int64

tests/system/test_gbq.py:847: AssertionError

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery-pandas API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions