René's URL Explorer Experiment


Title: feat: allow QueryJob.result() to be called on a dryRun query · Issue #1012 · googleapis/python-bigquery · GitHub

Open Graph Title: feat: allow QueryJob.result() to be called on a dryRun query · Issue #1012 · googleapis/python-bigquery

X Title: feat: allow QueryJob.result() to be called on a dryRun query · Issue #1012 · googleapis/python-bigquery

Description: Attempting to call result() on a dryRun query results in the following exception. def test_dry_run(bigquery_client: bigquery.Client, query_api_method: str, scalars_table_multi_location: Tuple[str, str]): location, full_table_id = scalars...

Open Graph Description: Attempting to call result() on a dryRun query results in the following exception. def test_dry_run(bigquery_client: bigquery.Client, query_api_method: str, scalars_table_multi_location: Tuple[str, ...

X Description: Attempting to call result() on a dryRun query results in the following exception. def test_dry_run(bigquery_client: bigquery.Client, query_api_method: str, scalars_table_multi_location: Tuple[str, ...

Opengraph URL: https://github.com/googleapis/python-bigquery/issues/1012

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat: allow QueryJob.result() to be called on a dryRun query","articleBody":"Attempting to call `result()` on a dryRun query results in the following exception.\r\n\r\n```\r\n    def test_dry_run(bigquery_client: bigquery.Client, query_api_method: str, scalars_table_multi_location: Tuple[str, str]):\r\n        location, full_table_id = scalars_table_multi_location\r\n        query_config = bigquery.QueryJobConfig()\r\n        query_config.dry_run = True\r\n    \r\n        query_string = f\"SELECT * FROM {full_table_id}\"\r\n        query_job = bigquery_client.query(query_string, location=location, job_config=query_config, api_method=query_api_method)\r\n\u003e       query_job.result()\r\n\r\ntests/system/test_query.py:430: \r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \r\ngoogle/cloud/bigquery/job/query.py:1372: in result\r\n    do_get_result()\r\n../python-api-core/google/api_core/retry.py:283: in retry_wrapped_func\r\n    return retry_target(\r\n../python-api-core/google/api_core/retry.py:190: in retry_target\r\n    return target()\r\ngoogle/cloud/bigquery/job/query.py:1362: in do_get_result\r\n    super(QueryJob, self).result(retry=retry, timeout=timeout)\r\ngoogle/cloud/bigquery/job/base.py:713: in result\r\n    return super(_AsyncJob, self).result(timeout=timeout, **kwargs)\r\n../python-api-core/google/api_core/future/polling.py:137: in result\r\n    raise self._exception\r\ngoogle/cloud/bigquery/job/query.py:1233: in _done_or_raise\r\n    self._reload_query_results(retry=retry, timeout=transport_timeout)\r\ngoogle/cloud/bigquery/job/query.py:1214: in _reload_query_results\r\n    self._query_results = self._client._get_query_results(\r\ngoogle/cloud/bigquery/client.py:1835: in _get_query_results\r\n    resource = self._call_api(\r\ngoogle/cloud/bigquery/client.py:732: in _call_api\r\n    return call()\r\n../python-api-core/google/api_core/retry.py:283: in retry_wrapped_func\r\n    return retry_target(\r\n../python-api-core/google/api_core/retry.py:190: in retry_target\r\n    return target()\r\n\r\n...\r\n\r\nE           google.api_core.exceptions.NotFound: 404 GET https://bigquery.googleapis.com/bigquery/v2/projects/swast-scratch/queries/None?maxResults=0\u0026location=asia-northeast1\u0026prettyPrint=false: Not found: Job swast-scratch:asia-northeast1.None\r\nE           \r\nE           (job ID: None)\r\nE           \r\nE                                            -----Query Job SQL Follows-----                                 \r\nE           \r\nE               |    .    |    .    |    .    |    .    |    .    |    .    |    .    |    .    |    .    |\r\nE              1:SELECT * FROM swast-scratch.python_bigquery_tests_system_20211008194804_6e302d_tokyo.scalars\r\nE               |    .    |    .    |    .    |    .    |    .    |    .    |    .    |    .    |    .    |\r\n\r\n../python-cloud-core/google/cloud/_http.py:479: NotFound\r\n```\r\n\r\nThis is because the QueryJob tries to fetch query results and/or job state, but there is no job ID in a dry run query response.\r\n\r\nIMO, if we know something is a dryRun response, `resullt()` should do nothing.","author":{"url":"https://github.com/tswast","@type":"Person","name":"tswast"},"datePublished":"2021-10-08T20:33:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1012/python-bigquery/issues/1012"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7e3d9473-d58b-a93e-eaea-10e1299fa6be
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAE90:10F0C1:E54484:14EB118:6A4E2E1C
html-safe-nonce88b612df3682eea461ca4effa4d242a1b9c01554ade8ffc4c082c00bd9a23a0d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTkwOjEwRjBDMTpFNTQ0ODQ6MTRFQjExODo2QTRFMkUxQyIsInZpc2l0b3JfaWQiOiIzOTAyMzk5MTU2NTU2MDE3MTgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc3353b58fdce71ef1ada20701d19e4fef7a8d18289e0b348c4ce2f153f9f0936
hovercard-subject-tagissue:1021443552
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/python-bigquery/1012/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fb325f573a34ee3ae585d951799ae99f48e6b0b4e9d19b61dccf778a9a3de913/googleapis/python-bigquery/issues/1012
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fb325f573a34ee3ae585d951799ae99f48e6b0b4e9d19b61dccf778a9a3de913/googleapis/python-bigquery/issues/1012
og:image:altAttempting to call result() on a dryRun query results in the following exception. def test_dry_run(bigquery_client: bigquery.Client, query_api_method: str, scalars_table_multi_location: Tuple[str, ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametswast
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-preview
go-importgithub.com/googleapis/python-bigquery git https://github.com/googleapis/python-bigquery.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id226992475
octolytics-dimension-repository_nwogoogleapis/python-bigquery
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id226992475
octolytics-dimension-repository_network_root_nwogoogleapis/python-bigquery
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
released9dd20d38f8ae3c4cb6b597807431db300d0bd2a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/python-bigquery/issues/1012#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-bigquery%2Fissues%2F1012
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-bigquery%2Fissues%2F1012
Sign up https://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%2Fpython-bigquery
Reloadhttps://github.com/googleapis/python-bigquery/issues/1012
Reloadhttps://github.com/googleapis/python-bigquery/issues/1012
Reloadhttps://github.com/googleapis/python-bigquery/issues/1012
Please reload this pagehttps://github.com/googleapis/python-bigquery/issues/1012
googleapis https://github.com/googleapis
python-bigqueryhttps://github.com/googleapis/python-bigquery
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fpython-bigquery
Fork 324 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-bigquery
Star 799 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-bigquery
Code https://github.com/googleapis/python-bigquery
Issues 0 https://github.com/googleapis/python-bigquery/issues
Pull requests 0 https://github.com/googleapis/python-bigquery/pulls
Actions https://github.com/googleapis/python-bigquery/actions
Projects https://github.com/googleapis/python-bigquery/projects
Security and quality 0 https://github.com/googleapis/python-bigquery/security
Insights https://github.com/googleapis/python-bigquery/pulse
Code https://github.com/googleapis/python-bigquery
Issues https://github.com/googleapis/python-bigquery/issues
Pull requests https://github.com/googleapis/python-bigquery/pulls
Actions https://github.com/googleapis/python-bigquery/actions
Projects https://github.com/googleapis/python-bigquery/projects
Security and quality https://github.com/googleapis/python-bigquery/security
Insights https://github.com/googleapis/python-bigquery/pulse
#1015https://github.com/googleapis/python-bigquery/pull/1015
feat: allow QueryJob.result() to be called on a dryRun queryhttps://github.com/googleapis/python-bigquery/issues/1012#top
#1015https://github.com/googleapis/python-bigquery/pull/1015
api: bigqueryIssues related to the googleapis/python-bigquery API.https://github.com/googleapis/python-bigquery/issues?q=state%3Aopen%20label%3A%22api%3A%20bigquery%22
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.https://github.com/googleapis/python-bigquery/issues?q=state%3Aopen%20label%3A%22type%3A%20feature%20request%22
https://github.com/tswast
tswasthttps://github.com/tswast
on Oct 8, 2021https://github.com/googleapis/python-bigquery/issues/1012#issue-1021443552
api: bigqueryIssues related to the googleapis/python-bigquery API.https://github.com/googleapis/python-bigquery/issues?q=state%3Aopen%20label%3A%22api%3A%20bigquery%22
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.https://github.com/googleapis/python-bigquery/issues?q=state%3Aopen%20label%3A%22type%3A%20feature%20request%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.