Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename ledger_closed_at to closed_at in history_trades; add ledger_sequence #297

Open
sydneynotthecity opened this issue Jan 2, 2025 · 0 comments
Labels
enhancement New feature or request etl-scrum

Comments

@sydneynotthecity
Copy link
Contributor

This is harder than you think because the partition is ledger_closed_at.

  • Create new table with partition on closed_at
  • Validate
  • Drop old table
  • Copy new table with old table name

Includes impact analysis and refactoring

  • dbt models
  • metabase dashboards
  • scheduled queries
  • that use the history_trades table

https://github.com/search?q=repo%3Astellar%2Fstellar-dbt%20ledger_closed_at&type=code

looks like we'll have to update 7 models

@sydneynotthecity sydneynotthecity added this to the Data Sprint 55 milestone Jan 3, 2025
@chowbao chowbao added the enhancement New feature or request label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request etl-scrum
Projects
None yet
Development

No branches or pull requests

2 participants