René's URL Explorer Experiment


Title: Feast BigQuery offline store gets wrong argument types for `event_timestamp` · Issue #2532 · feast-dev/feast · GitHub

Open Graph Title: Feast BigQuery offline store gets wrong argument types for `event_timestamp` · Issue #2532 · feast-dev/feast

X Title: Feast BigQuery offline store gets wrong argument types for `event_timestamp` · Issue #2532 · feast-dev/feast

Description: Expected Behavior Retrieving training data from an offline store that is BigQuery by using get_historical_features method from Python SDK. Current Behavior Getting this error when running get_historical_features: Traceback (most recent c...

Open Graph Description: Expected Behavior Retrieving training data from an offline store that is BigQuery by using get_historical_features method from Python SDK. Current Behavior Getting this error when running get_histo...

X Description: Expected Behavior Retrieving training data from an offline store that is BigQuery by using get_historical_features method from Python SDK. Current Behavior Getting this error when running get_histo...

Opengraph URL: https://github.com/feast-dev/feast/issues/2532

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feast BigQuery offline store gets wrong argument types for `event_timestamp`","articleBody":"## Expected Behavior \r\nRetrieving training data from an offline store that is BigQuery by using `get_historical_features` method from Python SDK.\r\n\r\n## Current Behavior\r\nGetting this error when running `get_historical_features`:\r\n\r\n```sh\r\nTraceback (most recent call last):\r\n  File \"get_offline_data.py\", line 22, in \u003cmodule\u003e\r\n    \"item_user_stats_v1:is_high_risk_seller\",\r\n  File \"/usr/local/lib/python3.7/site-packages/feast/infra/offline_stores/offline_store.py\", line 77, in to_df\r\n    features_df = self._to_df_internal()\r\n  File \"/usr/local/lib/python3.7/site-packages/feast/infra/offline_stores/bigquery.py\", line 290, in _to_df_internal\r\n    df = self._execute_query(query).to_dataframe(create_bqstorage_client=True)\r\n  File \"/usr/local/lib/python3.7/site-packages/feast/usage.py\", line 280, in wrapper\r\n    raise exc.with_traceback(traceback)\r\n  File \"/usr/local/lib/python3.7/site-packages/feast/usage.py\", line 269, in wrapper\r\n    return func(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.7/site-packages/feast/infra/offline_stores/bigquery.py\", line 357, in _execute_query\r\n    block_until_done(client=self.client, bq_job=bq_job, timeout=timeout)\r\n  File \"/usr/local/lib/python3.7/site-packages/feast/infra/offline_stores/bigquery.py\", line 415, in block_until_done\r\n    raise bq_job.exception()\r\ngoogle.api_core.exceptions.BadRequest: 400 No matching signature for operator \u003c= for argument types: TIMESTAMP, DATETIME. Supported signature: ANY \u003c= ANY at [78:13]\r\n``` \r\nThe error happens on a query where it compares event timestamps (last line):\r\n ```SQL\r\n item_user_stats_v1__base AS (\r\n    SELECT\r\n        subquery.*,\r\n        entity_dataframe.entity_timestamp,\r\n        entity_dataframe.item_user_stats_v1__entity_row_unique_id\r\n    FROM item_user_stats_v1__subquery AS subquery\r\n    INNER JOIN item_user_stats_v1__entity_dataframe AS entity_dataframe\r\n    ON TRUE\r\n        AND subquery.event_timestamp \u003c= entity_dataframe.entity_timestamp\r\n```\r\n \r\n## Steps to reproduce\r\nUse Feast project with GCP provider, where the offline store is BigQuery. After installing feast[gcp] (v0.19.4) packages you should get this `google-cloud-bigquery==3.0.1` dependency version. I think it should brake also with newer versions of `google-cloud-bigquery` if it will be available.\r\n\r\n\r\n### Specifications\r\n\r\n- Version: v0.19.4\r\n- Platform: GCP\r\n- Subsystem:\r\n\r\n## Possible Solution\r\nQuick solution: add upper bound of `\u003c3.0.0` [here](https://github.com/feast-dev/feast/blob/fc3498109477585272b441e094a267fc1b9a5d04/sdk/python/setup.py#L74).\r\n\r\nA better solution: check what is causing this event timestamp type mismatch and fix it 😊 . ","author":{"url":"https://github.com/KarolisKont","@type":"Person","name":"KarolisKont"},"datePublished":"2022-04-13T13:43:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/2532/feast/issues/2532"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5ca487a8-6827-98fe-4be9-e6daa14835c7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id93C4:146594:246345:32FA5F:697886EB
html-safe-nonce607c517c4ef49b3d047629da58c2f3aa5e708d8976d9453a9e9f5863f1c55bac
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0M0OjE0NjU5NDoyNDYzNDU6MzJGQTVGOjY5Nzg4NkVCIiwidmlzaXRvcl9pZCI6IjYzMzgzMTE2MTI0Nzc3Njk0NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbb3b5b0937661978e35f0ae56d66aacd4a3366f68f9e7e2ffa71a942d6b12c1a
hovercard-subject-tagissue:1203323653
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/2532/issue_layout
twitter:imagehttps://opengraph.githubassets.com/092753ce4cb95e8e64f398db9b203b7ca994559705c68720a4f86bf75484177b/feast-dev/feast/issues/2532
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/092753ce4cb95e8e64f398db9b203b7ca994559705c68720a4f86bf75484177b/feast-dev/feast/issues/2532
og:image:altExpected Behavior Retrieving training data from an offline store that is BigQuery by using get_historical_features method from Python SDK. Current Behavior Getting this error when running get_histo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKarolisKont
hostnamegithub.com
expected-hostnamegithub.com
None2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50
turbo-cache-controlno-preview
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-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release73a426593e896c8afeb40b1706b74d04068aca2d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/2532#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F2532
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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%2Fissues%2F2532
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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/issues/2532
Reloadhttps://github.com/feast-dev/feast/issues/2532
Reloadhttps://github.com/feast-dev/feast/issues/2532
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.2k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 6.7k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 182 https://github.com/feast-dev/feast/issues
Pull requests 66 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security 0 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 https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/2532
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/2532
Feast BigQuery offline store gets wrong argument types for event_timestamphttps://github.com/feast-dev/feast/issues/2532#top
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
https://github.com/KarolisKont
https://github.com/KarolisKont
KarolisKonthttps://github.com/KarolisKont
on Apr 13, 2022https://github.com/feast-dev/feast/issues/2532#issue-1203323653
herehttps://github.com/feast-dev/feast/blob/fc3498109477585272b441e094a267fc1b9a5d04/sdk/python/setup.py#L74
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
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.