Connection

Configuration

NAMETYPEDESCRIPTIONREQUIREDREADONLY
databasestringtruefalse
workgroupstringtruefalse
regionstringfalsefalse
override_endpointbooleanfalsetrue
data_api_endpointstringExample: https://redshift-data.us-west-2.amazonaws.com (required if “ is “true”)falsefalse
iam_role_arnstringtruefalse
external_idstringfalsetrue

Example

1{
2 "name": "redshiftserverless connection",
3 "type": "redshiftserverless",
4 "configuration": {
5 "data_api_endpoint": "",
6 "database": "users",
7 "iam_role_arn": "arn:aws:iam::012345678910:role/role",
8 "region": "us-west-2",
9 "workgroup": "default"
10 }
11}

Model Sync

Source

Configuration

NAMETYPEDESCRIPTIONREQUIREDREADONLY
querystringfalsefalse
schemastringSchemafalsefalse
tablestringTablefalsefalse
viewstringViewfalsefalse

Example

1{
2 ...
3 "configuration": {
4 "query": "SELECT * FROM sampledata.users",
5 "schema": "sampledata",
6 "table": "users",
7 "view": "active_users"
8 }
9}

Type handling

Destination types

POLYTOMIC TYPEREDSHIFT SERVERLESS TYPE
array<>SUPER
bigintBIGINT
booleanBOOL
dateDATE
datetimeTIMESTAMP
decimal(precision, scale)NUMERIC(precision,scale)
doubleFLOAT8
intINTEGER
jsonSUPER
jsonarraySUPER
numberNUMERIC(38,18)
object{}SUPER
singleFLOAT4
smallintSMALLINT
stringVARCHAR(MAX)
timeVARCHAR(255)

Source types

REDSHIFT SERVERLESS TYPEPOLYTOMIC TYPE
4000json
BIGINTbigint
BOOLboolean
BOOLEANboolean
BPCHARstring
CHARstring
CHARACTERstring
CHARACTER VARYINGstring
DATEdate
DECIMALnumber
DECIMAL(precision, scale)decimal(precision, scale)
DOUBLE PRECISIONdouble
FLOATdouble
FLOAT4single
FLOAT8double
INTint
INT2smallint
INT4int
INT8bigint
INTEGERint
NCHARstring
NUMERICnumber
NUMERIC(precision, scale)decimal(precision, scale)
NVARCHARstring
REALsingle
SMALLINTsmallint
TEXTstring
TIMEtime
TIME WITH TIME ZONEtime
TIME WITHOUT TIME ZONEtime
TIMESTAMPdatetime
TIMESTAMP WITH TIME ZONEdatetime
TIMESTAMP WITHOUT TIME ZONEdatetime
TIMESTAMPTZdatetime
TIMETZtime
VARCHARstring