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

Experiment with "alter table append" #395

Closed
drewbanin opened this issue Apr 21, 2017 · 2 comments
Closed

Experiment with "alter table append" #395

drewbanin opened this issue Apr 21, 2017 · 2 comments

Comments

@drewbanin
Copy link
Contributor

http://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_TABLE_APPEND.html

This may be well suited for incremental models

@drewbanin
Copy link
Contributor Author

Both source and dest tables must be permanent and must share identical schemas. This is impractical because of things like column expansion, column encodings, etc. Closing this, but let's keep this functionality in mind as it's super cool and occasionally useful

@davehowell
Copy link

I don't like that it can't be done in a transaction, but it is very fast as just a metadata operation.

I feel like it could be useful in these scenarios:

  • Archiving historic data
  • Migrating tables to another schema
  • Some kind of bush-mechanic partitioning regime (view over union of date-specific tables or similar)
  • Incremental loading, although the no-transactions is disconcerting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants