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_arrow[v1] failed · Issue #558 · 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_arrow[v1] failed #558

Copy link
Copy link
Closed
#565
Closed
tests.system.reader.test_reader_dataframe: test_read_rows_to_arrow[v1] failed#558
#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: #372 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'
def test_read_rows_to_arrow(client_and_types, project_id):
    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.read_options.selected_fields.append("station_id")
    read_session.read_options.selected_fields.append("latitude")
    read_session.read_options.selected_fields.append("longitude")
    read_session.read_options.selected_fields.append("name")
    read_session.data_format = types.DataFormat.ARROW

    session = client.create_read_session(
        request={
            "parent": "projects/{}".format(project_id),
            "read_session": read_session,
            "max_stream_count": 1,
        }
    )

    assert len(session.streams) == 1

    streamname = session.streams[0].name

    tbl = client.read_rows(streamname, offset=0).to_arrow(session)

    assert tbl.num_columns == 4
    schema = tbl.schema
    # Use field with a name specifier as there may be ordering differences
    # when selected_fields is used
  assert pyarrow.types.is_int64(schema.field("station_id").type)

E AssertionError: assert False
E + where False = <function is_int64 at 0x7f31609b7310>(DataType(string))
E + where <function is_int64 at 0x7f31609b7310> = <module 'pyarrow.types' from '/tmpfs/src/github/python-bigquery-storage/.nox/prerelease_deps-3-8/lib/python3.8/site-packages/pyarrow/types.py'>.is_int64
E + where <module 'pyarrow.types' from '/tmpfs/src/github/python-bigquery-storage/.nox/prerelease_deps-3-8/lib/python3.8/site-packages/pyarrow/types.py'> = pyarrow.types
E + and DataType(string) = pyarrow.Field<station_id: string not null>.type
E + where pyarrow.Field<station_id: string not null> = <built-in method field of pyarrow.lib.Schema object at 0x7f315cb06f30>('station_id')
E + where <built-in method field of pyarrow.lib.Schema object at 0x7f315cb06f30> = station_id: string not null\n -- field metadata --\n description: 'Unique identifier of a station.'\nname: string\n -- field metadata --\n description: 'Public name of the station.'\nlatitude: double\n -- field metadata --\n description: 'The latitude of station. The field value must be a valid ' + 42\nlongitude: double\n -- field metadata --\n description: 'The longitude of station. The field value must be a valid' + 43.field

tests/system/reader/test_reader_dataframe.py:54: 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
    added a commit that references this issue on Jan 27, 2023

    testing: update test expectations (#565)

    2df7874
  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.