Skip to content

JITSU-227: Compose Reverse ETL object mappings - #1590

Merged
absorbb merged 10 commits into
newjitsufrom
feat/retl-object-mapping
Oct 23, 2026
Merged

absorbb merged 10 commits into
newjitsufrom
feat/retl-object-mapping

Conversation

@absorbb

@absorbb absorbb commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Summary

JITSU-227

  • Put object-valued mapping fields in separate cards with Model column and Compose object modes.
  • Support Google Ads custom variables and session attributes, and Meta custom/app data. Compose objects from named properties mapped to model columns.
  • Validate required object properties and conflicting mappings on save and in the runner; preserve composed mappings when applying mapping suggestions.
  • Keep existing column mappings unchanged. Composition retains model value types; arrays remain whole-column mappings.

Validation

  • Console unit: 467 passed; Reverse ETL integration: 55 passed.
  • Warehouse-query: 395 passed, 14 opt-in skips.
  • Runner execution/mirror/preflight/boundary: 236 passed, 1 skipped; diagnostics: 41 passed.
  • Destination-functions full suite passed (643 tests), followed by 99 passing focused tests including the additional missing-column regression.
  • Console, runner, warehouse-query and destination-functions typechecks passed.
  • Scoped core/UI reviews and a fresh final review are clean.

Deployment

Manual deployment; no deploy:console label.
Deploy the updated runner before console so composed mappings are understood before users can save them.
No database migration. No services restarted or deployed.

jitsu-code-review[bot]
jitsu-code-review Bot previously approved these changes Oct 22, 2026

@jitsu-code-review jitsu-code-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of 31b185f01d8d8b2ee962af323e30117973cfcb7e

Reviewed the full diff and relevant validation, persistence, editor, and delivery paths. No high-confidence actionable defects found.

@jitsu-code-review jitsu-code-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of 852c255203f2641fc65cb013dd91a11783da76ff

Reviewed the complete incremental diff and relevant callers. No high-confidence defects found. Isolated PostgreSQL and type-label checks passed; full test suites were not run.

@absorbb
absorbb merged commit 3e2d0c8 into newjitsu Oct 23, 2026
16 checks passed
@absorbb
absorbb deleted the feat/retl-object-mapping branch October 23, 2026 11:48
absorbb added a commit that referenced this pull request Oct 26, 2026
…ight (#1592)

Fixes #1591

In `3e2d0c8f` (#1590), `validateReverseEtlConfig` and
`runSnapshotMirror` were updated to support destination fields composed
via `objectMappings`, and `prepareSource`
(`services/retl-runner/src/source-preflight.ts`) was updated on lines 48
and 55 to use `mappedColumns(config.options)` and `mapReverseRow(row,
config.options)`.

Line 45 of `prepareSource` still checked
`Object.keys(config.options.mapping).length > 0`, throwing `"Invalid
mirror mapping"` when destination fields are mapped via `objectMappings`
and `mapping` is `{}`. This updates line 45 to check
`ensure(mappedColumns(config.options).length > 0, "Invalid mirror
mapping")`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant