You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is quite rigid because users aren't able to deviate their schema naming or table naming conventions to fit their data warehouses.
It's also inefficient in Redshift where goals that would normally be defined once-off, inside a report, need to be committed to our datamodelling steps (users can't just define a custom goal table for a goal e.g. (SELECT domain_userid as subject, 'conversion' as goal, 10.00 as revenue, derived_tstamp as conversion_time FROM client.events WHERE event_name = 'custom_schema')).
Another inefficiency is requiring users to specify a client ID. Not all users will be multi-tenanted and the additional column uses extra space in the DWH, whilst not strictly needed.
Whilst slightly uglier, I think we can make Mojito easier-to-adopt through customisable table references, like so:
I think we can make reports more customisable by changing the way we reference tables in our knits / Mojito.
Currently tables are referenced based on the client ID and subject types defined in
wave_params
. This makes for a tidywave_params
object:This yields tables like so:
mojito.exposures_usercookie
mojito.segments_usercookie
mojito.client_conversions_usercookie
There are some issues with this though:
(SELECT domain_userid as subject, 'conversion' as goal, 10.00 as revenue, derived_tstamp as conversion_time FROM client.events WHERE event_name = 'custom_schema')
).Whilst slightly uglier, I think we can make Mojito easier-to-adopt through customisable table references, like so:
Thoughts @dapperdrop ?
The text was updated successfully, but these errors were encountered: