René's URL Explorer Experiment


Title: fix(bigquery): Prefer query over table in get_table_query_string by Jwrede · Pull Request #6360 · feast-dev/feast · GitHub

Open Graph Title: fix(bigquery): Prefer query over table in get_table_query_string by Jwrede · Pull Request #6360 · feast-dev/feast

X Title: fix(bigquery): Prefer query over table in get_table_query_string by Jwrede · Pull Request #6360 · feast-dev/feast

Description: Summary Fixes #6200 When both table and query are set on a BigQuerySource, get_table_query_string() silently ignores query and always returns the table reference. This makes it impossible to use a custom read query (e.g., for deduplication via QUALIFY) on a PushSource, since PushSource requires table for offline writes. Root cause: get_table_query_string() checks if self.table first — since table is always truthy when set, query is never reached. Fix: Invert the priority — prefer query when present (it's more specific and intentionally provided), fall back to table. The write path (offline_write_batch()) accesses .table directly and is unaffected. Also applies the same fix to get_table_column_names_and_types() so schema inference uses the query when both are set, matching the actual read path. Changes bigquery_source.py: Swap condition order in get_table_query_string() and get_table_column_names_and_types() to prefer query over table test_bigquery.py: Add 4 unit tests covering table-only, query-only, both-set, and write-path-unaffected scenarios Test plan All 11 existing + new unit tests pass (pytest sdk/python/tests/unit/infra/offline_stores/test_bigquery.py) Integration test with BigQuery PushSource (requires GCP credentials)

Open Graph Description: Summary Fixes #6200 When both table and query are set on a BigQuerySource, get_table_query_string() silently ignores query and always returns the table reference. This makes it impossible to use a ...

X Description: Summary Fixes #6200 When both table and query are set on a BigQuerySource, get_table_query_string() silently ignores query and always returns the table reference. This makes it impossible to use a ...

Opengraph URL: https://github.com/feast-dev/feast/pull/6360

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a9cb7d2b-0b11-42f8-a535-f3fd0f2d1d81
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCA6C:645E3:B8C804:10F813C:6A4E2586
html-safe-noncebf29e37a2b6907a09170a8ef195b52796e4d19d42148efe78d9d061f5d3022bf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTZDOjY0NUUzOkI4QzgwNDoxMEY4MTNDOjZBNEUyNTg2IiwidmlzaXRvcl9pZCI6IjI0MjQ2MTIzNzI5OTM2ODA3NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0bfbd46cabda028d8f218eb95cfdf430f4b92244c6c2819f42fe6bd5729f95a8
hovercard-subject-tagpull_request:3618876968
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/6360/files
twitter:imagehttps://avatars.githubusercontent.com/u/62910358?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/62910358?s=400&v=4
og:image:altSummary Fixes #6200 When both table and query are set on a BigQuerySource, get_table_query_string() silently ignores query and always returns the table reference. This makes it impossible to use a ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
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/feast-dev/feast/pull/6360/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F6360%2Ffiles
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%2Ffeast-dev%2Ffeast%2Fpull%2F6360%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/pull/6360/files
Reloadhttps://github.com/feast-dev/feast/pull/6360/files
Reloadhttps://github.com/feast-dev/feast/pull/6360/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6360/files
feast-dev https://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Notifications https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Fork 1.4k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 7.1k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 212 https://github.com/feast-dev/feast/issues
Pull requests 171 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security and quality 1 https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Code https://github.com/feast-dev/feast
Issues https://github.com/feast-dev/feast/issues
Pull requests https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security and quality https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
ntkatholehttps://github.com/ntkathole
feast-dev:masterhttps://github.com/feast-dev/feast/tree/master
Jwrede:fix/bigquery-source-query-priorityhttps://github.com/Jwrede/feast/tree/fix/bigquery-source-query-priority
Conversation 3 https://github.com/feast-dev/feast/pull/6360
Commits 2 https://github.com/feast-dev/feast/pull/6360/commits
Checks 26 https://github.com/feast-dev/feast/pull/6360/checks
Files changed https://github.com/feast-dev/feast/pull/6360/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6360/files
fix(bigquery): Prefer query over table in get_table_query_string https://github.com/feast-dev/feast/pull/6360/files#top
Show all changes 2 commits https://github.com/feast-dev/feast/pull/6360/files
cb5b03b fix(bigquery): prefer query over table in get_table_query_string Jwrede May 2, 2026 https://github.com/feast-dev/feast/pull/6360/commits/cb5b03bbcf4eb46084336adca336f9dadf64d1e2
7db33e0 docs(bigquery): update docstring to reflect both table and query support Jwrede May 3, 2026 https://github.com/feast-dev/feast/pull/6360/commits/7db33e0615ef363a708436d576bf3c920488a491
Clear filters https://github.com/feast-dev/feast/pull/6360/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6360/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6360/files
bigquery_source.py https://github.com/feast-dev/feast/pull/6360/files#diff-0f021d0bccdb78d9ecb198d38c3e0693ac63cf6728d1d7ae179e85edf9a63c03
test_bigquery.py https://github.com/feast-dev/feast/pull/6360/files#diff-cbec92da77236361abafd03320f9c7f1ab8525d981d9bc558bd6de1cf08487cb
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L27
sdk/python/feast/infra/offline_stores/bigquery_source.pyhttps://github.com/feast-dev/feast/pull/6360/files#diff-0f021d0bccdb78d9ecb198d38c3e0693ac63cf6728d1d7ae179e85edf9a63c03
View file https://github.com/Jwrede/feast/blob/7db33e0615ef363a708436d576bf3c920488a491/sdk/python/feast/infra/offline_stores/bigquery_source.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6360/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6360/files#diff-0f021d0bccdb78d9ecb198d38c3e0693ac63cf6728d1d7ae179e85edf9a63c03
https://github.com/feast-dev/feast/pull/6360/files#diff-0f021d0bccdb78d9ecb198d38c3e0693ac63cf6728d1d7ae179e85edf9a63c03
https://github.com/feast-dev/feast/pull/6360/files#diff-0f021d0bccdb78d9ecb198d38c3e0693ac63cf6728d1d7ae179e85edf9a63c03
https://github.com/feast-dev/feast/pull/6360/files#diff-0f021d0bccdb78d9ecb198d38c3e0693ac63cf6728d1d7ae179e85edf9a63c03
https://github.com/feast-dev/feast/pull/6360/files#diff-0f021d0bccdb78d9ecb198d38c3e0693ac63cf6728d1d7ae179e85edf9a63c03
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/tests/unit/infra/offline_stores/test_bigquery.pyhttps://github.com/feast-dev/feast/pull/6360/files#diff-cbec92da77236361abafd03320f9c7f1ab8525d981d9bc558bd6de1cf08487cb
View file https://github.com/Jwrede/feast/blob/7db33e0615ef363a708436d576bf3c920488a491/sdk/python/tests/unit/infra/offline_stores/test_bigquery.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6360/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6360/files#diff-cbec92da77236361abafd03320f9c7f1ab8525d981d9bc558bd6de1cf08487cb
Please reload this pagehttps://github.com/feast-dev/feast/pull/6360/files
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.