Replies: 1 comment 3 replies
-
The most basic strawman approach I can think of: an annotation in JSONSchema of a collection which specifies its dynamic formula. This can be standardised at the capture so that each capture that wants to support this feature needs to write such a formula as a SQL select statement (we can probably go with SQLite's dialect since we use that for derivations), and in the materialization side we will need to support creating views for these fields. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some data sources expose dynamic fields (aka formulas). One such example is Salesforce, which allows you to define formula fields (think of them like views on a SQL database, which allow you to calculate a value at query time).
Fivetrain automatically materializes these fields as views on the destination, if such a function is supported. See their approach here.
It would be nice if we could also capture dynamic fields and materialize them as a dynamic field whenever possible.
Beta Was this translation helpful? Give feedback.
All reactions