Shaping your data
The column names and shapes in your source rarely match the column names and shapes your app wants in the index. SemiLayer's mapping layer closes the gap in your config — no ETL job, no view, no extra moving part.
Every FieldConfig on a lens has five mapping knobs:
Three patterns you'll hit first
Rename a column.
Round a price to two decimals.
Compose a full name from two columns.
That's 80% of the mapping you'll ever write.
The full story lives in Data Mapping
- Overview — all five knobs, how they fit together
- Source resolution —
from,merge,separator, the two merge strategies - Transforms — every built-in transform + chaining + custom JS
- Recipes — common patterns (derived fields, null defaults, cents→dollars, JSON unpacking)
Head there when you start writing more than trivial renames.