Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange for Amazon Redshift
  3. PowerExchange for Amazon Redshift Configuration
  4. Amazon Redshift Connections
  5. PowerExchange for Amazon Redshift Data Objects
  6. Amazon Redshift Mappings
  7. Pushdown Optimization
  8. Amazon Redshift Lookup
  9. Appendix A: Amazon Redshift Datatype Reference
  10. Appendix B: Troubleshooting

PowerExchange for Amazon Redshift User Guide

PowerExchange for Amazon Redshift User Guide

Amazon Redshift and Transformation Datatypes

Amazon Redshift and Transformation Datatypes

The Amazon Redshift data types are the names and aliases that represent how the Data Integration Service stores the data types.
For example,
Smallint
is the Amazon Redshift data type name. The data type is stored as a 2-byte integer. Here,
Smallint
is the Amazon Redshift data type name and
Int2
is the Amazon Redshift data type alias.
The following table compares the Amazon Redshift data types and the transformation data types:
Amazon Redshift Data Type
Amazon Redshift Data Type Aliases
Description
Transformation Data Type
Smallint
Int2
Signed two-byte integer.
Small Integer
Integer
Int, Int4
Signed four-byte integer.
Integer
Bigint
Int8
Signed eight-byte integer.
Bigint
Decimal
Numeric
Exact numeric of selectable precision.
Decimal
Real
Float4
Single precision floating-point number.
Double
Double Precision
Float8, Float
Double precision floating-point number.
Double
Boolean
Bool
Logical Boolean (true/false).
Small Integer
Char
Character, Nchar, Bpchar
Fixed-length character string.
String
Varchar
Character Varying, Nvarchar, Text
Variable-length character string with a user-defined limit.
String
Date
NA
Calendar date (year, month, day).
Timestamp
Timestamp
Timestamp without time zone
Date and time (without time zone).
Timestamp
Timestampz
Timestamp with time zone
Date and time (with time zone).
Timestamp
You can use the Timestampz data type when you run mappings in the native environment.

0 COMMENTS

We’d like to hear from you!