Skip to main content
Version: 0.4 (Latest)

Amazon Redshift Reference

Reference material for Amazon Redshift Publishing -- data type mappings, CLI arguments, and querying.

Data Type Mapping​

Source types map automatically to Redshift-compatible types. LakeXpress exports through Parquet, so the mapping is driven by the normalized source type name.

Pick your source database:

PostgreSQL to Redshift​

PostgreSQL TypeRedshift Type
SMALLINTSMALLINT
INTEGER, INT4INTEGER
BIGINT, INT8BIGINT
NUMERIC(p,s)DECIMAL(p,s)
REAL, FLOAT4REAL
DOUBLE PRECISION, FLOAT8DOUBLE PRECISION
VARCHAR(n)VARCHAR(n)
TEXTVARCHAR(MAX)
CHAR(n)CHAR(n)
BOOLEANBOOLEAN
DATEDATE
TIMEVARCHAR(20)
TIMESTAMPTIMESTAMP
TIMESTAMPTZVARCHAR(40)
BYTEAVARBYTE
UUIDVARCHAR(36)
JSON, JSONB, array []SUPER

CLI Reference​

Redshift Publishing Arguments​

OptionTypeDescription
--publish_target IDStringCredential ID for Redshift publishing (required)
--publish_method internal|externalStringTable type: native Redshift table (internal) or Spectrum external table (external)
--publish_schema_pattern PATTERNStringSchema naming pattern (default: {schema} for internal, EXT_{schema} for the default external method, unless set explicitly)
--publish_table_pattern PATTERNStringTable naming pattern (default: {table})
--sub_path PATHStringValue substituted for the {subpath} naming token
--pk_constraintsFlagAdd informational PRIMARY KEY constraints (internal tables only)
--n_jobs NIntegerParallel workers for table creation (default: 1)

Querying Redshift Tables​

Internal table:

SELECT * FROM int_mydata_20260730.customer LIMIT 10;

External table (Spectrum):

SELECT * FROM ext_mydata_20260730.customer LIMIT 10;

See Also​

Copyright © 2026 Architecture & Performance.