-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hi Dresende,
Nice work here. One thing I don't understand is how to apply data transformations when a DDL schema changes (to support production data changes).
For example, take the name column in the README's example.
name : { type : "text", required: true }
What if a requirement meant that this should split into 'first_name' and 'last_name' and these two new columns should use the data in name? So the name column would be split into tokens and the last token becomes last_name and the first token becomes the first_name. Let's say this code is in a helper module that exports nameTransformer().
first_name : { type : "text", required: true }
last_name : { type : "text", required: true }
How would we manage to call nameTransformer() in the lifecycle of dropping the name column and creating the two new columns?
Cheers,
Nicholas
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels