Open Bug 1669565 Opened 4 years ago Updated 2 years ago

Allow event properties in `event_analysis.extract_event_counts`

Categories

(Data Platform and Tools :: General, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: frank, Unassigned)

References

(Blocks 1 open bug)

Details

Currently funnels and event_counts are defined as specific events, both a category and a name. We should allow users to also define certain properties for those events, in order to more finely define funnels or get event counts of certain subsets of events.

The difficulty here is making event_properties optional in the function definition. BQ does not allow default arguments for procedures. I see a few options:

  • Create a new procedure that has a shared library with the existing create_events_view procedure
  • Require users set a value, probably NULL or [] of they don't care about the event properties
Component: Datasets: Mobile → General
You need to log in before you can comment on or make changes to this bug.