Skip to content

Commit

Permalink
Change unnest stage
Browse files Browse the repository at this point in the history
  • Loading branch information
agregori97 committed Jul 12, 2024
1 parent bd2d3e0 commit c570dd5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion views/sessions.view.lkml
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,18 @@ extends: [event_funnel, page_funnel]
sql: ${TABLE}.user_pseudo_id ;;
}

dimension: event_data {
dimension: event_data_1 {
hidden: yes
type: string
sql: ARRAY_AGG(${TABLE}.event_data) ;;
## This is the parent array that contains the event_data struct elements. It is not directly useably as a dimension.
## It is necessary for proper unnesting in the model Join.
}
dimension: event_data {
hidden: yes
type: string
sql: ${event_data_1} ;;
}

dimension: audience_trait {
view_label: "Audience"
Expand Down

0 comments on commit c570dd5

Please sign in to comment.