GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tests.system.reader.test_reader_dataframe: test_read_rows_to_dataframe[v1-ARROW-arrow_schema] failed · Issue #560 · googleapis/python-bigquery-storage

This repository was archived by the owner on Nov 12, 2025. It is now read-only.
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

tests.system.reader.test_reader_dataframe: test_read_rows_to_dataframe[v1-ARROW-arrow_schema] failed #560

Copy link
Copy link
Closed
#565
Closed
tests.system.reader.test_reader_dataframe: test_read_rows_to_dataframe[v1-ARROW-arrow_schema] failed#560
#565
Copy link
Labels
api: bigquerystorageIssues related to the googleapis/python-bigquery-storage API.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: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@flaky-bot
flaky-bot
bot
opened on Jan 27, 2023
Issue body actions

Note: #374 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.


commit: 3b86c7e
buildURL: Build Status, Sponge
status: failed

Test output
client_and_types = (, )
project_id = 'precise-truck-742', data_format = 'ARROW'
expected_schema_type = 'arrow_schema'
@pytest.mark.parametrize(
    "data_format,expected_schema_type",
    (("AVRO", "avro_schema"), ("ARROW", "arrow_schema")),
)
def test_read_rows_to_dataframe(
    client_and_types, project_id, data_format, expected_schema_type
):
    client, types = client_and_types
    read_session = types.ReadSession()
    read_session.table = "projects/{}/datasets/{}/tables/{}".format(
        "bigquery-public-data", "new_york_citibike", "citibike_stations"
    )
    read_session.data_format = data_format

    session = client.create_read_session(
        request={
            "parent": "projects/{}".format(project_id),
            "read_session": read_session,
            "max_stream_count": 1,
        }
    )
    schema_type = session._pb.WhichOneof("schema")
    assert schema_type == expected_schema_type

    stream = session.streams[0].name

    frame = client.read_rows(stream).to_dataframe(
        session, dtypes={"latitude": numpy.float16}
    )

    # Station ID is a required field (no nulls), so the datatype should always
    # be integer.
  assert frame.station_id.dtype.name == "int64"

E AssertionError: assert 'object' == 'int64'
E - int64
E + object

tests/system/reader/test_reader_dataframe.py:92: AssertionError

Activity

  1. flaky-bot
    added
    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: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Jan 27, 2023
  2. product-auto-label
    added
    api: bigquerystorageIssues related to the googleapis/python-bigquery-storage API.
    on Jan 27, 2023
  3. shollyman
    added a commit that references this issue on Jan 27, 2023

    testing: update test expectations

    41aaddd
  4. shollyman
    closed this as completedin #565on Jan 27, 2023
  5. shollyman
    closed this as completedin 2df7874on Jan 27, 2023
  6. parthea
    added a commit that references this issue on Aug 21, 2025

    testing: update test expectations (#565)

    281e2f9
  7. parthea
    added a commit that references this issue on Sep 16, 2025

    testing: update test expectations (#565)

    c94b77e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigquerystorageIssues related to the googleapis/python-bigquery-storage API.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: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.