René's URL Explorer Experiment


Title: bigquery: ARROW query_and_wait returns empty result on cached large-result queries · Issue #18935 · googleapis/google-cloud-python · GitHub

Open Graph Title: bigquery: ARROW query_and_wait returns empty result on cached large-result queries · Issue #18935 · googleapis/google-cloud-python

X Title: bigquery: ARROW query_and_wait returns empty result on cached large-result queries · Issue #18935 · googleapis/google-cloud-python

Description: I've been seeing falures on pyarrow tests, that seem related to the new feature (#18650) ________ test_query_and_wait_arrow_cached_results[too_large_for_inline] ________ [gw1] linux -- Python 3.12.12 /tmpfs/src/github/google-cloud-python...

Open Graph Description: I've been seeing falures on pyarrow tests, that seem related to the new feature (#18650) ________ test_query_and_wait_arrow_cached_results[too_large_for_inline] ________ [gw1] linux -- Python 3.12....

X Description: I've been seeing falures on pyarrow tests, that seem related to the new feature (#18650) ________ test_query_and_wait_arrow_cached_results[too_large_for_inline] ________ [gw1] linux -- Python 3...

Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/18935

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bigquery: ARROW query_and_wait returns empty result on cached large-result queries","articleBody":"I've been [seeing falures](https://btx.cloud.google.com/invocations/49e28a7d-0d56-4afb-95a1-bf2ed6d4aa6a/targets/cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fgoogle-cloud-python%2Fpresubmit%2Fsystem/log) on pyarrow tests, that seem related to the new feature (https://github.com/googleapis/google-cloud-python/pull/18650)\n\n```\n________ test_query_and_wait_arrow_cached_results[too_large_for_inline] ________\n[gw1] linux -- Python 3.12.12 /tmpfs/src/github/google-cloud-python/packages/google-cloud-bigquery/.nox/system-3-12/bin/python\n\nbigquery_client = \npriority = None, page_size = None, num_rows = 20000, payload_size = 1024\n\n    @pytest.mark.parametrize(\n        (\"priority\", \"page_size\", \"num_rows\", \"payload_size\"),\n        [\n            (None, 100, 1000, 0),\n            # The results are too large to return inline, so the cached jobs.query\n            # response has no rows and totalRows is 0.\n            (None, None, 20000, 1024),\n            (enums.QueryPriority.INTERACTIVE, 100, 1000, 0),\n        ],\n        ids=[\"some_rows_inline\", \"too_large_for_inline\", \"no_rows_inline\"],\n    )\n    def test_query_and_wait_arrow_cached_results(\n        bigquery_client, priority, page_size, num_rows, payload_size\n    ):\n        # No other query uses this literal, so only the second run can hit the\n        # cache.\n        query = (\n            f\"SELECT x, '{uuid.uuid4().hex}' AS key, REPEAT('x', {payload_size}) AS p \"\n            f\"FROM UNNEST(GENERATE_ARRAY(1, {num_rows})) AS x ORDER BY x\"\n        )\n        job_config = bigquery.QueryJobConfig(use_query_cache=True)\n        if priority is not None:\n            job_config.priority = priority\n    \n        def read():\n            rows = bigquery_client.query_and_wait(\n                query,\n                job_config=job_config,\n                page_size=page_size,\n                query_results_format=enums.QueryResultsFormat.ARROW,\n            )\n            table = pyarrow.Table.from_batches(list(rows.to_arrow_iterable()))\n            return bigquery_client.get_job(rows.job_id, location=rows.location), table\n    \n        first_job, first = read()\n        cached_job, cached = read()\n    \n        assert not first_job.cache_hit\n        assert cached_job.cache_hit\n>       assert cached.num_rows == num_rows\nE       assert 0 == 20000\nE        +  where 0 = pyarrow.Table\\n\\n----.num_rows\n\n```\n","author":{"url":"https://github.com/daniel-sanche","@type":"Person","name":"daniel-sanche"},"datePublished":"2026-10-31T00:28:44Z","url":"https://github.com/googleapis/google-cloud-python/issues/18935"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:41800a75-172b-8653-c3bf-6d98a9750b44
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA3E8:1C0763:3FF940:536E73:6AFE6370
html-safe-noncee068111bd87289b3ceccae03e0fe32c12bc30c863d396b1d6102b7b745c71fb3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0U4OjFDMDc2MzozRkY5NDA6NTM2RTczOjZBRkU2MzcwIiwidmlzaXRvcl9pZCI6Ijg0NTQ0MTEzMjAyOTExMjQwODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2f7bc1777d1877ee83c81f8fdf79126abc3ee77540ef4ac9cd473a57b53f58dc
hovercard-subject-tagissue:6129127931
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/18935/issue_layout
twitter:imagehttps://opengraph.githubassets.com/50c15c626e81d37e41955050356453486b7c49514113ca82d634e9a409f66a80/googleapis/google-cloud-python/issues/18935
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/50c15c626e81d37e41955050356453486b7c49514113ca82d634e9a409f66a80/googleapis/google-cloud-python/issues/18935
og:image:altI've been seeing falures on pyarrow tests, that seem related to the new feature (#18650) ________ test_query_and_wait_arrow_cached_results[too_large_for_inline] ________ [gw1] linux -- Python 3.12....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedaniel-sanche
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id16316451
octolytics-dimension-repository_nwogoogleapis/google-cloud-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id16316451
octolytics-dimension-repository_network_root_nwogoogleapis/google-cloud-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/issues/18935#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F18935
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F18935
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleapis%2Fgoogle-cloud-python
Reloadhttps://github.com/googleapis/google-cloud-python/issues/18935
Reloadhttps://github.com/googleapis/google-cloud-python/issues/18935
Reloadhttps://github.com/googleapis/google-cloud-python/issues/18935
googleapishttps://github.com/googleapis
google-cloud-pythonhttps://github.com/googleapis/google-cloud-python
Codehttps://github.com/googleapis/google-cloud-python
Issues450 (450)https://github.com/googleapis/google-cloud-python/issues
Pull requests200 (200)https://github.com/googleapis/google-cloud-python/pulls
Discussionshttps://github.com/googleapis/google-cloud-python/discussions
Actionshttps://github.com/googleapis/google-cloud-python/actions
Projectshttps://github.com/googleapis/google-cloud-python/projects
Security and qualityhttps://github.com/googleapis/google-cloud-python/security
Insightshttps://github.com/googleapis/google-cloud-python/insights
https://github.com/googleapis/google-cloud-python
New issuehttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/18935
New issuehttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/18935
#18958https://github.com/googleapis/google-cloud-python/pull/18958
bigquery: ARROW query_and_wait returns empty result on cached large-result querieshttps://github.com/googleapis/google-cloud-python/issues/18935#top
#18958https://github.com/googleapis/google-cloud-python/pull/18958
https://github.com/ohmayr
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22priority%3A%20p1%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
on Oct 31, 2026https://github.com/googleapis/google-cloud-python/issues/18935#issue-6129127931
seeing falureshttps://btx.cloud.google.com/invocations/49e28a7d-0d56-4afb-95a1-bf2ed6d4aa6a/targets/cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fgoogle-cloud-python%2Fpresubmit%2Fsystem/log
#18650https://github.com/googleapis/google-cloud-python/pull/18650
daniel-sanchehttps://github.com/daniel-sanche
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
triage meI really want to be triaged.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22triage%20me%22
on Oct 31, 2026https://github.com/googleapis/google-cloud-python/issues/18935#event-34743863038
daniel-sanchehttps://github.com/daniel-sanche
on Oct 31, 2026https://github.com/googleapis/google-cloud-python/issues/18935#event-34743885814
daniel-sanchehttps://github.com/daniel-sanche
ohmayrhttps://github.com/ohmayr
on Oct 31, 2026https://github.com/googleapis/google-cloud-python/issues/18935#event-34743889588
daniel-sanchehttps://github.com/daniel-sanche
priority: p2Moderately-important priority. Fix may not be included in next release.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22priority%3A%20p2%22
triage meI really want to be triaged.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22triage%20me%22
on Oct 31, 2026https://github.com/googleapis/google-cloud-python/issues/18935#event-34743892699
https://github.com/ohmayr
ohmayrhttps://github.com/ohmayr
on Oct 31, 2026https://github.com/googleapis/google-cloud-python/issues/18935#issuecomment-6536808456
daniel-sanchehttps://github.com/daniel-sanche
on Oct 31, 2026https://github.com/googleapis/google-cloud-python/issues/18935#event-34745449509
daniel-sanchehttps://github.com/daniel-sanche
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22priority%3A%20p1%22
priority: p2Moderately-important priority. Fix may not be included in next release.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22priority%3A%20p2%22
on Oct 31, 2026https://github.com/googleapis/google-cloud-python/issues/18935#event-34746050385
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
on Oct 31, 2026https://github.com/googleapis/google-cloud-python/issues/18935#issuecomment-6537111427
partheahttps://github.com/parthea
completedhttps://github.com/googleapis/google-cloud-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
4c0d256https://github.com/googleapis/google-cloud-python/commit/4c0d25656c509409f6ee65d908eaa6fe593ca789
on Nov 3, 2026https://github.com/googleapis/google-cloud-python/issues/18935#event-35036540392
renovate-bothttps://github.com/renovate-bot
on Nov 3, 2026https://github.com/googleapis/google-cloud-python/issues/18935#event-35037145765
fix(bigquery): read cached ARROW results that are too large to return…https://github.com/renovate-bot/google-cloud-python/commit/4c0d25656c509409f6ee65d908eaa6fe593ca789
4c0d256https://github.com/renovate-bot/google-cloud-python/commit/4c0d25656c509409f6ee65d908eaa6fe593ca789
Sign up for freehttps://github.com/signup?return_to=https://github.com/googleapis/google-cloud-python/issues/18935
Sign in to commenthttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/18935
ohmayrhttps://github.com/ohmayr
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22priority%3A%20p1%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.