Expand description
Arrow to PostgreSQL type mapping for sink operations.
Maps Apache Arrow DataType to PostgreSQL SQL type names for:
- UNNEST array casts in upsert queries
- CREATE TABLE DDL generation
- COPY BINARY column type declarations
Functionsยง
- arrow_
column_ to_ pg_ array - Converts an Arrow array column to a boxed
PostgreSQLarray parameter for UNNEST queries. - arrow_
to_ pg_ ddl_ type - Maps an Arrow
DataTypeto aPostgreSQLDDL type for CREATE TABLE. - arrow_
type_ to_ pg_ array_ cast - Returns the
PostgreSQLarray type suffix for UNNEST cast expressions. - arrow_
type_ to_ pg_ sql - Maps an Arrow
DataTypeto aPostgreSQLSQL type name for UNNEST casts.