René's URL Explorer Experiment


Title: fix: Normalize Arrow-backed dtypes from Ray Dataset.to_pandas() for pyarrow >=25 compatibility by ntkathole · Pull Request #6916 · feast-dev/feast · GitHub

Open Graph Title: fix: Normalize Arrow-backed dtypes from Ray Dataset.to_pandas() for pyarrow >=25 compatibility by ntkathole · Pull Request #6916 · feast-dev/feast

X Title: fix: Normalize Arrow-backed dtypes from Ray Dataset.to_pandas() for pyarrow >=25 compatibility by ntkathole · Pull Request #6916 · feast-dev/feast

Description: What this PR does / why we need it: Problem Ray 2.58 + pyarrow 25 + pandas 2.3 changed Dataset.to_pandas() to produce pd.ArrowDtype columns instead of traditional numpy types. This broke Ray integration tests in two ways: List-typed features returned as ArrowDtype(list<...>) instead of object dtype (10 test failures) Null feature values returned as None/pd.NA instead of NaN, causing math.isnan(None) → TypeError (2 test failures) Fix ray_shared_utils.py - Added normalize_arrow_dtypes() that round-trips through Arrow (pa.Table.from_pandas(df).to_pandas()) to restore numpy-backed types. No-op when no ArrowDtype columns exist, and safe on pandas < 1.5 via getattr guard. job.py / ray.py - Applied normalization at all to_pandas() exit points in RayDAGRetrievalJob and RayRetrievalJob. Also fixed incorrect .to_pandas().to_arrow() calls → pa.Table.from_pandas(...). e2e_test_validation.py - Replaced math.isnan() with pd.isna() to handle None, pd.NA, and NaN uniformly. Which issue(s) this PR fixes: Fixes #6912

Open Graph Description: What this PR does / why we need it: Problem Ray 2.58 + pyarrow 25 + pandas 2.3 changed Dataset.to_pandas() to produce pd.ArrowDtype columns instead of traditional numpy types. This broke Ray integr...

X Description: What this PR does / why we need it: Problem Ray 2.58 + pyarrow 25 + pandas 2.3 changed Dataset.to_pandas() to produce pd.ArrowDtype columns instead of traditional numpy types. This broke Ray integr...

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

X: @github

direct link

Domain: github.com

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:11bc5581-db09-877b-9f75-c5104c2f4d87
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8764:3CE0F6:E8E7ED:132DB71:6AFE98A3
html-safe-nonce207fa551fbd42f03da328ddc10fec32104f22373bb5406742bb3f52d375cf221
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzY0OjNDRTBGNjpFOEU3RUQ6MTMyREI3MTo2QUZFOThBMyIsInZpc2l0b3JfaWQiOiI0Nzg4ODY2NTIwODMyNzEwODE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbb452cea4836c89e2ae0404a36357706175a305bf4ab9a7090dfc58fe5a7a876
hovercard-subject-tagpull_request:4699621051
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/6916/files
twitter:imagehttps://avatars.githubusercontent.com/u/16951913?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/16951913?s=400&v=4
og:image:altWhat this PR does / why we need it: Problem Ray 2.58 + pyarrow 25 + pandas 2.3 changed Dataset.to_pandas() to produce pd.ArrowDtype columns instead of traditional numpy types. This broke Ray integr...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
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
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/pull/6916/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F6916%2Ffiles
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%2Ffeast-dev%2Ffeast%2Fpull%2F6916%2Ffiles
Sign uphttps://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/6916/files
Reloadhttps://github.com/feast-dev/feast/pull/6916/files
Reloadhttps://github.com/feast-dev/feast/pull/6916/files
feast-devhttps://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Codehttps://github.com/feast-dev/feast
Issues223 (223)https://github.com/feast-dev/feast/issues
Pull requests143 (143)https://github.com/feast-dev/feast/pulls
Discussionshttps://github.com/feast-dev/feast/discussions
Actionshttps://github.com/feast-dev/feast/actions
Security and quality1 (1)https://github.com/feast-dev/feast/security
Insightshttps://github.com/feast-dev/feast/insights
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
ntkathole:fix_ray_topandahttps://github.com/ntkathole/feast/tree/fix_ray_topanda
Conversation 2 https://github.com/feast-dev/feast/pull/6916
Commits 3 https://github.com/feast-dev/feast/pull/6916/commits
Checks 23 https://github.com/feast-dev/feast/pull/6916/checks
Files changed https://github.com/feast-dev/feast/pull/6916/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6916/files
fix: Normalize Arrow-backed dtypes from Ray Dataset.to_pandas() for pyarrow >=25 compatibility https://github.com/feast-dev/feast/pull/6916/files#top
Show all changes 3 commits https://github.com/feast-dev/feast/pull/6916/files
3f7a140 fix: Normalize Arrow-backed dtypes from Ray Dataset.to_pandas() for p… ntkathole Oct 1, 2026 https://github.com/feast-dev/feast/pull/6916/commits/3f7a140385b09240cead4a694d4aeaebced0f0fe
4dbb478 fix: Detect Ray TensorDtype/PythonObjectDtype by module and normalize… ntkathole Oct 1, 2026 https://github.com/feast-dev/feast/pull/6916/commits/4dbb47804954500e93fa3ffaf21cda4bf37a57c7
8850a51 fix: Recover Arrow list value types for empty-list historical features ntkathole Oct 1, 2026 https://github.com/feast-dev/feast/pull/6916/commits/8850a517930bd43a63e750e9e4581e219aa1859e
Clear filters https://github.com/feast-dev/feast/pull/6916/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6916/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6916/files
job.py https://github.com/feast-dev/feast/pull/6916/files#diff-baef2f7a9db9a56007c834c90f6a131008a7c1365264e3d5eeb1a774f2fe7b24
ray.py https://github.com/feast-dev/feast/pull/6916/files#diff-7437d75d0e46213df26c6e7d07f87d800c465f450ded060febe4962db270a4d0
ray_shared_utils.py https://github.com/feast-dev/feast/pull/6916/files#diff-647a9a07d25ff41c955c9374970d0c0299db7b2cad3462b21d1377d3ca69ea31
test_ray_normalize_arrow_dtypes.py https://github.com/feast-dev/feast/pull/6916/files#diff-e12741cbd86d2af44662460b15979821dce30b7d4d775d93b4630ce77015121d
e2e_test_validation.py https://github.com/feast-dev/feast/pull/6916/files#diff-4b41826f843d3600c9bf71d67e1d097146b0f295b0630caa5b669c8d427eb4d1
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/infra/compute_engines/ray/job.pyhttps://github.com/feast-dev/feast/pull/6916/files#diff-baef2f7a9db9a56007c834c90f6a131008a7c1365264e3d5eeb1a774f2fe7b24
View file https://github.com/ntkathole/feast/blob/8850a517930bd43a63e750e9e4581e219aa1859e/sdk/python/feast/infra/compute_engines/ray/job.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6916/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6916/files#diff-baef2f7a9db9a56007c834c90f6a131008a7c1365264e3d5eeb1a774f2fe7b24
https://github.com/feast-dev/feast/pull/6916/files#diff-baef2f7a9db9a56007c834c90f6a131008a7c1365264e3d5eeb1a774f2fe7b24
https://github.com/feast-dev/feast/pull/6916/files#diff-baef2f7a9db9a56007c834c90f6a131008a7c1365264e3d5eeb1a774f2fe7b24
https://github.com/feast-dev/feast/pull/6916/files#diff-baef2f7a9db9a56007c834c90f6a131008a7c1365264e3d5eeb1a774f2fe7b24
https://github.com/feast-dev/feast/pull/6916/files#diff-baef2f7a9db9a56007c834c90f6a131008a7c1365264e3d5eeb1a774f2fe7b24
https://github.com/feast-dev/feast/pull/6916/files#diff-baef2f7a9db9a56007c834c90f6a131008a7c1365264e3d5eeb1a774f2fe7b24
https://github.com/feast-dev/feast/pull/6916/files#diff-baef2f7a9db9a56007c834c90f6a131008a7c1365264e3d5eeb1a774f2fe7b24
https://github.com/feast-dev/feast/pull/6916/files#diff-baef2f7a9db9a56007c834c90f6a131008a7c1365264e3d5eeb1a774f2fe7b24
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/infra/offline_stores/contrib/ray_offline_store/ray.pyhttps://github.com/feast-dev/feast/pull/6916/files#diff-7437d75d0e46213df26c6e7d07f87d800c465f450ded060febe4962db270a4d0
View file https://github.com/ntkathole/feast/blob/8850a517930bd43a63e750e9e4581e219aa1859e/sdk/python/feast/infra/offline_stores/contrib/ray_offline_store/ray.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6916/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6916/files#diff-7437d75d0e46213df26c6e7d07f87d800c465f450ded060febe4962db270a4d0
https://github.com/feast-dev/feast/pull/6916/files#diff-7437d75d0e46213df26c6e7d07f87d800c465f450ded060febe4962db270a4d0
https://github.com/feast-dev/feast/pull/6916/files#diff-7437d75d0e46213df26c6e7d07f87d800c465f450ded060febe4962db270a4d0
https://github.com/feast-dev/feast/pull/6916/files#diff-7437d75d0e46213df26c6e7d07f87d800c465f450ded060febe4962db270a4d0
https://github.com/feast-dev/feast/pull/6916/files#diff-7437d75d0e46213df26c6e7d07f87d800c465f450ded060febe4962db270a4d0
https://github.com/feast-dev/feast/pull/6916/files#diff-7437d75d0e46213df26c6e7d07f87d800c465f450ded060febe4962db270a4d0
https://github.com/feast-dev/feast/pull/6916/files#diff-7437d75d0e46213df26c6e7d07f87d800c465f450ded060febe4962db270a4d0
https://github.com/feast-dev/feast/pull/6916/files#diff-7437d75d0e46213df26c6e7d07f87d800c465f450ded060febe4962db270a4d0
https://github.com/feast-dev/feast/pull/6916/files#diff-7437d75d0e46213df26c6e7d07f87d800c465f450ded060febe4962db270a4d0
https://github.com/feast-dev/feast/pull/6916/files#diff-7437d75d0e46213df26c6e7d07f87d800c465f450ded060febe4962db270a4d0
https://github.com/feast-dev/feast/pull/6916/files#diff-7437d75d0e46213df26c6e7d07f87d800c465f450ded060febe4962db270a4d0
https://github.com/feast-dev/feast/pull/6916/files#diff-7437d75d0e46213df26c6e7d07f87d800c465f450ded060febe4962db270a4d0
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/infra/ray_shared_utils.pyhttps://github.com/feast-dev/feast/pull/6916/files#diff-647a9a07d25ff41c955c9374970d0c0299db7b2cad3462b21d1377d3ca69ea31
View file https://github.com/ntkathole/feast/blob/8850a517930bd43a63e750e9e4581e219aa1859e/sdk/python/feast/infra/ray_shared_utils.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6916/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6916/files#diff-647a9a07d25ff41c955c9374970d0c0299db7b2cad3462b21d1377d3ca69ea31
https://github.com/feast-dev/feast/pull/6916/files#diff-647a9a07d25ff41c955c9374970d0c0299db7b2cad3462b21d1377d3ca69ea31
Please reload this pagehttps://github.com/feast-dev/feast/pull/6916/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6916/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.