Title: GitHub · Where software is built
Open Graph Title: feast-dev/feast
X Title: feast-dev/feast
Description: The Open Source Feature Store for AI/ML. Contribute to feast-dev/feast development by creating an account on GitHub.
Open Graph Description: The Open Source Feature Store for AI/ML. Contribute to feast-dev/feast development by creating an account on GitHub.
X Description: The Open Source Feature Store for AI/ML. Contribute to feast-dev/feast development by creating an account on GitHub.
Opengraph URL: https://github.com/feast-dev/feast
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to query created or event_timestamp fields from feature views","articleBody":"## Expected Behavior \r\n\r\n`get_historical_features` should be able to return the created date or `event_timestamp` if explicitly requested, currently this just breaks.\r\n``` \r\nfeatures = store.get_historical_features(\r\n entity_df=entity_df,\r\n features=[\r\n \"driver_hourly_stats:acc_rate\",\r\n \"driver_hourly_stats:conv_rate\",\r\n \"driver_hourly_stats:avg_daily_trips\",\r\n \"driver_hourly_stats:created\",\r\n \"driver_hourly_stats:event_timestamp\",\r\n ]\r\n )\r\n```\r\n\r\n## Current Behavior\r\n\r\n`get_historical_features` should be able to return the created date if explicitly requested, currently this just breaks.\r\n\r\n\r\n## Steps to reproduce\r\n```\r\nimport pandas as pd\r\nfrom datetime import datetime, timedelta\r\nfrom feast import FeatureStore\r\n\r\nstore = FeatureStore(\".\")\r\n\r\n\r\ndef main():\r\n entity_df = pd.DataFrame.from_dict({\r\n \"driver_id\": [1001, 1002],\r\n \"event_timestamp\": [datetime.utcnow() - timedelta(days=2), datetime.utcnow() - timedelta(days=2)],\r\n \"input_value\": [100, 200],\r\n })\r\n\r\n features = store.get_historical_features(\r\n entity_df=entity_df,\r\n features=[\r\n \"driver_hourly_stats:acc_rate\",\r\n \"driver_hourly_stats:conv_rate\",\r\n \"driver_hourly_stats:avg_daily_trips\",\r\n \"driver_hourly_stats:created\",\r\n \"driver_hourly_stats:event_timestamp\",\r\n ]\r\n )\r\n print('here are the features!\\n', features.to_df())\r\n\r\nif __name__ == '__main__':\r\n main()\r\n\r\n```\r\n\r\n### Specifications\r\n\r\n- Version:\r\n- Platform:\r\n- Subsystem:\r\n\r\n## Possible Solution\r\nhttps://github.com/feast-dev/feast/pull/3411","author":{"url":"https://github.com/franciscojavierarceo","@type":"Person","name":"franciscojavierarceo"},"datePublished":"2022-12-23T20:28:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/3412/feast/issues/3412"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:308e0886-446e-1221-41e0-45fe26c092ab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B9C:2BFBA0:2307345:31B7EBA:6978FD63 |
| html-safe-nonce | bdcdf3b6ee8a979aa7f7552d91548d9a0e9f48543965b996f2e42e658ae776cb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjlDOjJCRkJBMDoyMzA3MzQ1OjMxQjdFQkE6Njk3OEZENjMiLCJ2aXNpdG9yX2lkIjoiMjc4NzgxNDk4OTU4MDc5NTIzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c8e6fd06fc635bc0f37a34595eb98ca25cd8a72a7f4f63a00984812ce2ec920d |
| hovercard-subject-tag | repository:161133770 |
| github-keyboard-shortcuts | repository,issues,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/issues/3412 |
| twitter:image | https://opengraph.githubassets.com/d9623e9aa9eb4e9e4842841df14f7366f7e8eda1781217f191c772e4bc5c0faf/feast-dev/feast |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d9623e9aa9eb4e9e4842841df14f7366f7e8eda1781217f191c772e4bc5c0faf/feast-dev/feast |
| og:image:alt | The Open Source Feature Store for AI/ML. Contribute to feast-dev/feast development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6d9b384ce19e0ac9756580c70eae9a3359939e77ff05c731561090d13085b2b7 |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56ad33f6fdc0d0fb49c96b3c46ed74c55d926471 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width