OWOX Data Marts — the new open-source analytics platform. Learn more at docs.owox.com

How to get sequence number of the event?

NEW documentation: This article covers setup for OWOX BI. For the latest guides on setting up FREE connectors and Data Marts, visit the new OWOX Data Marts documentation.

Use SQL-code below to get sequence number of event:


SELECT
  event_name,
  SPLIT(owox.event_id,'/')[ORDINAL(1)] as event_id,
  SPLIT(owox.event_id,'/')[ORDINAL(2)] as part,
  SPLIT(owox.event_id,'/')[SAFE_ORDINAL(3)] as auto_event
FROM
  `{{project}}.{{dataset}}.events_intraday_{{date}}`
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.