René's URL Explorer Experiment


Title: fix: Support pgvector under non-default schema by Anarion-zuo · Pull Request #5970 · feast-dev/feast · GitHub

Open Graph Title: fix: Support pgvector under non-default schema by Anarion-zuo · Pull Request #5970 · feast-dev/feast

X Title: fix: Support pgvector under non-default schema by Anarion-zuo · Pull Request #5970 · feast-dev/feast

Description: What this PR does / why we need it: Vector extension for postgres is almost always installed under the public schema by default. When the table's schema is not public, add public to search_path. Which issue(s) this PR fixes: Fixes #5814. Misc Steps to reproduce the issue with the pgvector example under examples/online_store/pgvector_tutorial. This PR resolve the following error. Change db_schema in feature_store.yaml to a value other than 'public'. Execute feast apply. Execute python3 pgvector_example.py, and get the following error. Performing similarity search for: 'wireless audio device with good sound' Traceback (most recent call last): File "/Users/bytedance/Projects/feast/examples/online_store/pgvector_tutorial/pgvector_example.py", line 207, in main() File "/Users/bytedance/Projects/feast/examples/online_store/pgvector_tutorial/pgvector_example.py", line 200, in main perform_similarity_search(store, "wireless audio device with good sound", top_k=3) File "/Users/bytedance/Projects/feast/examples/online_store/pgvector_tutorial/pgvector_example.py", line 136, in perform_similarity_search results = store.retrieve_online_documents( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/bytedance/Projects/feast/sdk/python/feast/feature_store.py", line 2554, in retrieve_online_documents document_features = self._retrieve_from_online_store( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/bytedance/Projects/feast/sdk/python/feast/feature_store.py", line 2785, in _retrieve_from_online_store documents = provider.retrieve_online_documents( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/bytedance/Projects/feast/sdk/python/feast/infra/passthrough_provider.py", line 306, in retrieve_online_documents result = self.online_store.retrieve_online_documents( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/bytedance/Projects/feast/sdk/python/feast/infra/online_stores/postgres_online_store/postgres.py", line 439, in retrieve_online_documents cur.execute( File "/Users/bytedance/Projects/feast/.venv/lib/python3.11/site-packages/psycopg/cursor.py", line 97, in execute raise ex.with_traceback(None) psycopg.errors.UndefinedObject: type "vector" does not exist LINE 7: vector_value <-> $1::vector as dista...

Open Graph Description: What this PR does / why we need it: Vector extension for postgres is almost always installed under the public schema by default. When the table's schema is not public, add public to search_pat...

X Description: What this PR does / why we need it: Vector extension for postgres is almost always installed under the public schema by default. When the table&#39;s schema is not public, add public to search...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:01508d0a-ae30-14a9-31b7-d18c564f79fd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id97A8:1E92:40F6188:5CFE858:6A4FF3F1
html-safe-noncea438428e3007afd62e4254a810837db3d194f55e27f65b9f91faa23fcd7e338e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0E4OjFFOTI6NDBGNjE4ODo1Q0ZFODU4OjZBNEZGM0YxIiwidmlzaXRvcl9pZCI6IjY4NDk3OTYyMDk3NTU4MTI4NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf4a8f9fb4a008a5e7b24172f68e8df3dd6492d3fcae86db542128140eb125da8
hovercard-subject-tagpull_request:3284945512
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/5970/files
twitter:imagehttps://avatars.githubusercontent.com/u/46053503?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/46053503?s=400&v=4
og:image:altWhat this PR does / why we need it: Vector extension for postgres is almost always installed under the public schema by default. When the table's schema is not public, add public to search_pat...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c
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
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef7e270be010aa4de2871991025fbb97f3afe2bcb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/pull/5970/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F5970%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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2F5970%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/5970/files
Reloadhttps://github.com/feast-dev/feast/pull/5970/files
Reloadhttps://github.com/feast-dev/feast/pull/5970/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/5970/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 213 https://github.com/feast-dev/feast/issues
Pull requests 175 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
Anarion-zuo:aaronzuo/pg_search_pathhttps://github.com/Anarion-zuo/feast/tree/aaronzuo/pg_search_path
Conversation 1 https://github.com/feast-dev/feast/pull/5970
Commits 1 https://github.com/feast-dev/feast/pull/5970/commits
Checks 17 https://github.com/feast-dev/feast/pull/5970/checks
Files changed https://github.com/feast-dev/feast/pull/5970/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/5970/files
fix: Support pgvector under non-default schema https://github.com/feast-dev/feast/pull/5970/files#top
Show all changes 1 commit https://github.com/feast-dev/feast/pull/5970/files
d2c81f5 dev Anarion-zuo Feb 14, 2026 https://github.com/feast-dev/feast/pull/5970/commits/d2c81f5492c65063c63777ab7436cbcbcbe1f0e7
Clear filters https://github.com/feast-dev/feast/pull/5970/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/5970/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/5970/files
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/infra/utils/postgres/connection_utils.pyhttps://github.com/feast-dev/feast/pull/5970/files#diff-2ac41dbcd2a6b435fdc89b6d303480ed6cc1ae105dacecb7b6ba40b8d163da16
View file https://github.com/Anarion-zuo/feast/blob/d2c81f5492c65063c63777ab7436cbcbcbe1f0e7/sdk/python/feast/infra/utils/postgres/connection_utils.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/5970/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/5970/files#diff-2ac41dbcd2a6b435fdc89b6d303480ed6cc1ae105dacecb7b6ba40b8d163da16
https://github.com/feast-dev/feast/pull/5970/files#diff-2ac41dbcd2a6b435fdc89b6d303480ed6cc1ae105dacecb7b6ba40b8d163da16
Please reload this pagehttps://github.com/feast-dev/feast/pull/5970/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.