Title: fix(spark): BatchFeatureView with TransformationMode.PYTHON now reads all source columns by abhijeet-dhumal · Pull Request #6310 · feast-dev/feast · GitHub
Open Graph Title: fix(spark): BatchFeatureView with TransformationMode.PYTHON now reads all source columns by abhijeet-dhumal · Pull Request #6310 · feast-dev/feast
X Title: fix(spark): BatchFeatureView with TransformationMode.PYTHON now reads all source columns by abhijeet-dhumal · Pull Request #6310 · feast-dev/feast
Description: What FeatureBuilder.get_column_info() sets feature_cols=[] to signal "read all source columns" for transformation modes that compute output features from raw input. This signal was only applied for "ray" and "pandas" modes — "python" was missing. TransformationMode.PYTHON is the default mode for @batch_feature_view. This means every default @batch_feature_view using SparkComputeEngine was broken out of the box. Why it breaks With feature_cols populated from the view's output schema (e.g. ["user_avg_rating", "user_review_count"]), the Spark offline store read step generates: SELECT user_id, user_avg_rating, user_review_count, event_timestamp FROM s3a://bucket/processed/reviews/ WHERE event_timestamp BETWEEN ... These output feature names don't exist in the raw source data — the UDF is supposed to compute them. Spark's analyzer throws: AnalysisException: [UNRESOLVED_COLUMN.WITH_SUGGESTION] A column or function parameter with name 'user_avg_rating' cannot be resolved. Fix Added "python" to the existing mode guard in get_column_info() [x] Verified end-to-end on OpenShift AI with Feast 0.62.0 + PySpark 3.5.3 + MinIO + Redis — 2M+ feature vectors materialized successfully after fix
Open Graph Description: What FeatureBuilder.get_column_info() sets feature_cols=[] to signal "read all source columns" for transformation modes that compute output features from raw input. This signal was only a...
X Description: What FeatureBuilder.get_column_info() sets feature_cols=[] to signal "read all source columns" for transformation modes that compute output features from raw input. This signal wa...
Opengraph URL: https://github.com/feast-dev/feast/pull/6310
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2cec3dd0-ba2a-8931-b8db-3e759c191446 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B9AA:3AF9A7:3E98FBB:56A9D4E:6A4F5524 |
| html-safe-nonce | 62714dc31678e3a67b611571981bebd43c8bc01f1e5f016019a2b7a0c0f880be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUFBOjNBRjlBNzozRTk4RkJCOjU2QTlENEU6NkE0RjU1MjQiLCJ2aXNpdG9yX2lkIjoiNzkwNTE3NjQ5NDUxNDU5MTAxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7f10962f5f1d4b63ae98ae7ffe95d2b7ee6e8aabbcb64e8b07908d9d0e595489 |
| hovercard-subject-tag | pull_request:3563836964 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/6310/files |
| twitter:image | https://avatars.githubusercontent.com/u/84722973?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/84722973?s=400&v=4 |
| og:image:alt | What FeatureBuilder.get_column_info() sets feature_cols=[] to signal "read all source columns" for transformation modes that compute output features from raw input. This signal was only a... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width