# README
Redshift Library
Fork of s3-to-redshift
Fork because:
- It lacks all schema migration features and only support ADD columns.
- The repo owners does not actively respond to issues and pull requests. I have opened issues in the s3-to-redshift/issues for this. We will contribute back to s3-to-redshift if they are open for it.
- New Feature was added for merging data into the target table using staging table.
// TODO: Also, It is kept in this repo as making changes becomes easier to quickly develop, vendoring slows the development speed. Later, when we hit prod and we entain stability we should take out the library and keep it as a fork if contribution to s3-to-redshift does not work out.
# Functions
CheckSchemas takes in two tables and compares their column schemas to make sure they're compatible.
No description provided by the author
GetRedshiftDataType returns the mapped type for the sqlType's data type.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
required to support utf8 characters https://docs.aws.amazon.com/redshift/latest/dg/r_Character_types.html#r_Character_types-varchar-or-character-varying.
# Structs
ColInfo is a struct that contains information about a column in a Redshift database.
Meta holds information that might be not in Redshift or annoying to access in this case, schema a table is part of.
No description provided by the author
Redshift wraps a dbExecCloser and can be used to perform operations on a redshift database.
No description provided by the author
No description provided by the author
No description provided by the author
Table is representation of Redshift table.