Skip to main content
Version: 0.4 (Latest)

AWS Glue Reference

Reference material for AWS Glue Publishing -- data type mappings, CLI arguments, and querying.

Data Type Mapping​

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

Pick your source database:

PostgreSQL to Glue​

PostgreSQL TypeGlue Type
SMALLINTsmallint
INTEGER, INT4int
BIGINT, INT8bigint
NUMERIC(p,s)decimal(p,s)
REAL, FLOAT4float
DOUBLE PRECISION, FLOAT8double
VARCHAR(n), TEXT, CHAR(n), TIME, UUID, JSON, JSONB, array []string
BOOLEANboolean
DATEdate
TIMESTAMP, TIMESTAMPTZtimestamp
BYTEAbinary

CLI Reference​

Glue Publishing Arguments​

OptionTypeDescription
--publish_target IDStringCredential ID for Glue publishing (required)
--publish_schema_pattern PATTERNStringGlue database naming pattern (default: EXT_{schema})
--publish_database_name NAMEStringLiteral Glue database name; overrides --publish_schema_pattern when set
--publish_table_pattern PATTERNStringTable naming pattern (default: {table})
--n_jobs NIntegerParallel workers for table creation (default: 1)

There is no --glue_skip_existing flag -- AWS Glue publishing always (re)creates tables.

Querying Glue Tables​

Amazon Athena:

SELECT * FROM lx_tpch_1.customer LIMIT 10;

AWS Redshift Spectrum:

SELECT * FROM spectrum_schema.customer LIMIT 10;

Amazon EMR (Spark):

df = spark.table("lx_tpch_1.customer")
df.show(10)

See Also​

Copyright © 2026 Architecture & Performance.