How to create table structure in RDS similar to source table in Redshift and vice-versa

可紊 提交于 2019-12-12 04:27:32

问题


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-

  1. Write all the mappings between data-types of RDS and Redshift, and handles all the edge cases.
  2. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!