Mapping strategies
- One-to-one
- Expressions and literals
- JSON or structured fields
Map each warehouse column directly to a single destination field. Use this when names and semantics already align (
email → Email, mrr_usd → MonthlyRevenue).Type conversion
Planasonix coerces common warehouse types into types the destination expects:| Warehouse type | Typical destination handling |
|---|---|
| String / VARCHAR | Trimmed text; respect max length on the API |
| Integer / BIGINT | Whole numbers; watch for overflow on 32-bit fields |
| Numeric / DECIMAL | Rounded or scaled per field metadata |
| Boolean | true/false or vendor-specific enums |
| Timestamp / TZ | Normalized to UTC or destination-local rules per connector |
Required fields
Destinations mark some fields as required for create or upsert operations. The mapper highlights them. Before the first run:- Ensure your SQL returns a non-null value for each required mapped field.
- Confirm identifiers exist for update and upsert modes.
- Preview a sample batch to catch nulls and type mismatches early.
Nullable warehouse columns
Nullable warehouse columns
Use
COALESCE or CASE in SQL to substitute defaults only when the business approves; do not mask missing data silently if compliance requires explicit nulls.Multi-select and array fields
Multi-select and array fields
Check whether the connector expects delimited strings, native arrays, or JSON arrays, and shape the warehouse column accordingly.
Validation and testing
After you save mappings, run a limited preview against a handful of keys, then a full sync in a sandbox destination when possible. Compare counts between warehouse and destination using the same key definition you used in the sync.Related topics
Syncs
SQL source configuration and sync modes.
Monitoring
Find and fix mapping-related errors in run logs.