snowplow / snowplow-scala-analytics-sdk

Scala SDK for working with Snowplow enriched events in Spark, AWS Lambda, Flink et al.
https://snowplow.github.io/snowplow-scala-analytics-sdk/
20 stars 14 forks source link

Add option to not flatten self-describing fields #56

Closed knservis closed 6 years ago

knservis commented 6 years ago

Currently contexts, derived_contexts and unstruct_events are returned flattened (their field will look like "unstruct_event_com_acme_event_1_fieldName": "field value". Add an option to not do that and return the nested structure instead.