Skip to main content
Version: 0.4 (Latest)

Snowflake Reference

Reference material for Snowflake Publishing -- data type mappings and CLI arguments.

Data Type Mapping​

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

Pick your source database:

PostgreSQL to Snowflake​

PostgreSQL TypeSnowflake Type
SMALLINT, INTEGER, INT4, BIGINT, INT8NUMBER
NUMERIC(p,s)NUMBER(p,s)
REAL, FLOAT4, DOUBLE PRECISION, FLOAT8FLOAT
VARCHAR(n), CHAR(n)VARCHAR(n)
TEXTVARCHAR
BOOLEANBOOLEAN
DATEDATE
TIMETIME
TIMESTAMPTIMESTAMP_NTZ
TIMESTAMPTZTIMESTAMP_TZ
BYTEABINARY
UUIDVARCHAR(36)
JSON, JSONB, array []VARIANT

CLI Reference​

Snowflake Publishing Arguments​

OptionTypeDescription
--publish_target IDStringCredential ID for Snowflake publishing
--publish_schema_pattern PATTERNStringSchema naming pattern (default: EXT_{schema} for external, {schema} for internal)
--publish_table_pattern PATTERNStringTable naming pattern (default: {table})
--publish_method {external,internal}EnumTable type to publish (default: external)
--no_viewsFlagSkip view creation (external tables only)
--pk_constraintsFlagAdd PRIMARY KEY constraints (internal tables only)

The view name prefix is hardcoded to V_ -- there is no CLI flag to change it.

Deprecated / Renamed Arguments​

Old ArgumentCurrent ArgumentNotes
--publish--publish_targetRemoved in v0.1.12+
--snowflake_table_type--publish_method {external|internal}Renamed to the generic, cross-platform flag
--snowflake_pk_constraints--pk_constraintsRenamed to the generic, cross-platform flag
--snowflake_no_views--no_viewsRenamed to the generic, cross-platform flag
--snowflake_view_prefix(none)No longer configurable; view prefix is hardcoded to V_

See Also​

Copyright © 2026 Architecture & Performance.