Title: to_remote_storage() resulting in undeleted temporary tables in Snowflake · Issue #3545 · feast-dev/feast · GitHub
Open Graph Title: to_remote_storage() resulting in undeleted temporary tables in Snowflake · Issue #3545 · feast-dev/feast
X Title: to_remote_storage() resulting in undeleted temporary tables in Snowflake · Issue #3545 · feast-dev/feast
Description: Expected Behavior When calling get_historical_features.to_remote_storage(), any temporary tables created in Snowflake are deleted after the Snowflake session ends. Current Behavior When calling get_historical_features.to_remote_storage()...
Open Graph Description: Expected Behavior When calling get_historical_features.to_remote_storage(), any temporary tables created in Snowflake are deleted after the Snowflake session ends. Current Behavior When calling get...
X Description: Expected Behavior When calling get_historical_features.to_remote_storage(), any temporary tables created in Snowflake are deleted after the Snowflake session ends. Current Behavior When calling get...
Opengraph URL: https://github.com/feast-dev/feast/issues/3545
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"to_remote_storage() resulting in undeleted temporary tables in Snowflake","articleBody":"## Expected Behavior \r\nWhen calling get_historical_features.to_remote_storage(), any temporary tables created in Snowflake are deleted after the Snowflake session ends.\r\n## Current Behavior\r\nWhen calling get_historical_features.to_remote_storage(), the temporary tables created during the join process are not deleted after the Snowflake session ends. These tables are set to a retention time of 1 day, but they are not deleted and still exist after 24 hours.\r\n\r\nI tested this with `to_df()` and the above described issue does not occur. I also tried explicitly ending the session to make sure that wasn't the issue, but even after confirming the session was ended, the issue still persists.\r\n\r\n## Steps to reproduce\r\n1. For the FeatureStore object, set the RepoConfig offline store config to specify the following:\r\n```json\r\n{\r\n \"blob_export_location\": \u003cs3_staging_url\u003e,\r\n \"storage_integration_name\": \u003cstorage_integration\u003e,\r\n \"role\": \u003cstage_role\u003e,\r\n \"schema_\": \u003cstage_schema\u003e,\r\n}\r\n```\r\n2. Call `get_historical_features(entity_df=entity, features=features, full_feature_names=True).to_remote_storage()`\r\n3. Check snowflake stage tables and look for tables created at the time of running that start with `temporary_`\r\n\r\n### Specifications\r\n\r\n- Version: 0.30.0\r\n- Platform: Ubuntu\r\n- Subsystem:\r\n\r\n## Possible Solution\r\nNo possible solution known at the time of reporting","author":{"url":"https://github.com/connorwaldman","@type":"Person","name":"connorwaldman"},"datePublished":"2023-03-20T23:24:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3545/feast/issues/3545"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c83391f6-5c6e-6d4f-3be6-2c0edbd820be |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ACA4:2CBB04:221F4DC:304F04C:6978FB4D |
| html-safe-nonce | 2792db8cd3aea0e3e6407fd1e8dd3a13a2bd7aac92ba645fbfabe9afaf25d605 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0E0OjJDQkIwNDoyMjFGNERDOjMwNEYwNEM6Njk3OEZCNEQiLCJ2aXNpdG9yX2lkIjoiODc0NTU1ODQ2ODgzNzU3MTQwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9153a038751c00233c7dec33bea8299c16a6d33e2393fd8a17533a7d638a5a17 |
| hovercard-subject-tag | issue:1633011259 |
| 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/_view_fragments/issues/show/feast-dev/feast/3545/issue_layout |
| twitter:image | https://opengraph.githubassets.com/be49d7a395cd5268b6b7b3d56a4e3a8500448de92cf9aaaacf3fd8e1eec77c59/feast-dev/feast/issues/3545 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/be49d7a395cd5268b6b7b3d56a4e3a8500448de92cf9aaaacf3fd8e1eec77c59/feast-dev/feast/issues/3545 |
| og:image:alt | Expected Behavior When calling get_historical_features.to_remote_storage(), any temporary tables created in Snowflake are deleted after the Snowflake session ends. Current Behavior When calling get... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | connorwaldman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6d9b384ce19e0ac9756580c70eae9a3359939e77ff05c731561090d13085b2b7 |
| turbo-cache-control | no-preview |
| 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