René's URL Explorer Experiment


Title: Handle BigQuery partitions when event_timestamp is not the partition column, deal with event_timestamp columns of DATE type · Issue #2530 · feast-dev/feast · GitHub

Open Graph Title: Handle BigQuery partitions when event_timestamp is not the partition column, deal with event_timestamp columns of DATE type · Issue #2530 · feast-dev/feast

X Title: Handle BigQuery partitions when event_timestamp is not the partition column, deal with event_timestamp columns of DATE type · Issue #2530 · feast-dev/feast

Description: Is your feature request related to a problem? Please describe. At a high level, I'd like to be able to install Feast, describe my sources and FVs, and immediately start working to get historical data and materialize features. However, by...

Open Graph Description: Is your feature request related to a problem? Please describe. At a high level, I'd like to be able to install Feast, describe my sources and FVs, and immediately start working to get historical da...

X Description: Is your feature request related to a problem? Please describe. At a high level, I'd like to be able to install Feast, describe my sources and FVs, and immediately start working to get historica...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Handle BigQuery partitions when event_timestamp is not the partition column, deal with event_timestamp columns of DATE type","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nAt a high level, I'd like to be able to install Feast, describe my sources and FVs, and immediately start working to get historical data and materialize features. However, by not being partition-aware and by not accounting for non-timestamp date columns, a large number of our tables are not usable without modification.\r\n\r\nThis feature request is specific to the GCP provider and BigQuery offline store. It has two parts: 1) relating to respecting partition when constructing date ranges in SQL, 2) relating to source tables with \"timestamp\" column not of TIMESTAMP type.\r\n\r\n1) In any table were the partition column is not the same column as the event_timestamp, Feast will ignore partitions and do a full table scan on each query. For large tables, this causes BQ to fail due to \"insufficient resources\" - not a slot/quote issue, but having to do with needing to marshal too much transient data. A common example with BQ is when doing DAY partitioning using ingestion time, the magic column _PARTITIONTIME is the partition column. Each record will contain its own actual event_timestamp column, but this column is not the partition column.\r\n\r\n2) For tables with an \"event_timestamp\" that is not a TIMESTAMP type, the SQL can break when there's a type mismatch, e.g. when the column is a DATE type. A common use case is a DAY partitioned summary table that performs aggregations over the day or possibly just takes the final value for each entity/date. These tables have a DATE column on each record. In this case, the DATE column is usually the partition column, but it is not the correct format for the date conditions in the Feast template SQL. I would prefer not to have to create a new column or a view on each table just to make Feast work.\r\n\r\n**Describe the solution you'd like**\r\nI'd like to be able to specify information about the partition column such that Feast could formulate SQL optimized to my table definition taking advantage of partitioning. This information would probably need to include the partition column name, type, and partition type at a minimum. I believe optimized SQL would not be much different from the existing queries but would require, in cases where the partition column is not the same as the event_timestamp column, to add an additional range condition using the partition column.\r\n\r\nI'd also like to be able to indicate that my \"event_timestamp\" column is not a TIMESTAMP type - and have Feast adjust the SQL accordingly. Specifically, I'd like to specify in the Feast BigQuerySource definition that the \"event_timestamp\" column is the partition column and is of DATE type and have Feast make the corresponding adjustments to the templatized SQL.\r\n\r\n**Describe alternatives you've considered**\r\nTo deal with (1), the only alternatives I can think of are a) creating a view that changes the partition column to the event_timestamp column for every table, b) creating a duplicate of each table using the event_timestamp column.\r\n\r\nTo deal with (2), similarly, either a) create a view with a new timestamp typed column to use as the event_timestamp, b) add a new timestamp column to the existing tables.\r\n\r\nAll these solutions require a good amount of work and/or creating duplicate tables/views. I would really like Feast to just do the right thing after I create a Source.\r\n\r\n**Additional context**\r\nHappy to provide any further details if the above is not clear.\r\n","author":{"url":"https://github.com/rory-nia","@type":"Person","name":"rory-nia"},"datePublished":"2022-04-13T01:53:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/2530/feast/issues/2530"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:dc5348e9-6702-d5bb-e386-3c2c97b271b9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEDF2:271448:E9FEB7:143A7A4:6A4DD41B
html-safe-noncef25bbd8bf7192d4474d4dddaafc3dc5e61be1ab2d3d9c2908f7604ae9b2e5295
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREYyOjI3MTQ0ODpFOUZFQjc6MTQzQTdBNDo2QTRERDQxQiIsInZpc2l0b3JfaWQiOiIzOTg3ODkyNDYwNTYyNzk3NTk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0552a5b069aa7bd4620d89a2c1694bc904d86baea1f2320e64b741066d1266d8
hovercard-subject-tagissue:1202652018
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/2530/issue_layout
twitter:imagehttps://opengraph.githubassets.com/eecacb3b09d47f72ff9060b4acfa08faf7a450c2f96755a8b41d2b9cf0265176/feast-dev/feast/issues/2530
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eecacb3b09d47f72ff9060b4acfa08faf7a450c2f96755a8b41d2b9cf0265176/feast-dev/feast/issues/2530
og:image:altIs your feature request related to a problem? Please describe. At a high level, I'd like to be able to install Feast, describe my sources and FVs, and immediately start working to get historical da...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerory-nia
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
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
release1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/2530#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F2530
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2F2530
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/2530
Reloadhttps://github.com/feast-dev/feast/issues/2530
Reloadhttps://github.com/feast-dev/feast/issues/2530
Please reload this pagehttps://github.com/feast-dev/feast/issues/2530
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 212 https://github.com/feast-dev/feast/issues
Pull requests 171 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
#6362https://github.com/feast-dev/feast/pull/6362
Handle BigQuery partitions when event_timestamp is not the partition column, deal with event_timestamp columns of DATE typehttps://github.com/feast-dev/feast/issues/2530#top
#6362https://github.com/feast-dev/feast/pull/6362
Community Contribution NeededWe want community to contributehttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22Community%20Contribution%20Needed%22
good first issueGood for newcomershttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
keep-openhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22keep-open%22
kind/featureNew feature or requesthttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Ffeature%22
priority/p1https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp1%22
https://github.com/rory-nia
rory-niahttps://github.com/rory-nia
on Apr 13, 2022https://github.com/feast-dev/feast/issues/2530#issue-1202652018
Community Contribution NeededWe want community to contributehttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22Community%20Contribution%20Needed%22
good first issueGood for newcomershttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22good%20first%20issue%22
keep-openhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22keep-open%22
kind/featureNew feature or requesthttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Ffeature%22
priority/p1https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp1%22
Feast Roadmaphttps://github.com/orgs/feast-dev/projects/2
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.