问题
Trying to automate table creation in database(RDS/Redshift) by using source table structure that is also present in either Redshift or RDS.
Database on which I am working on is RDS(mysql) and Redshift(postgresql).
Approaches-
- Write all the mappings between data-types of RDS and Redshift, and handles all the edge cases.
- Another way is by using any API/Library.
Questions-
I found "CREATE TABLE AS" in Redshift, but didn't get anything for RDS (MYSQL). Is there anything similar in RDS ?
来源:https://stackoverflow.com/questions/38351206/how-to-create-table-structure-in-rds-similar-to-source-table-in-redshift-and-vic