diff --git a/docs/datalake/epilot-datalake.mdx b/docs/datalake/epilot-datalake.mdx index 9ae8e95..dc37bcd 100644 --- a/docs/datalake/epilot-datalake.mdx +++ b/docs/datalake/epilot-datalake.mdx @@ -182,6 +182,8 @@ group by This SQL query retrieves data about opportunities created over time, extracts relevant information from the JSON payload, and aggregates it by year and month, providing insights into opportunities created during different periods. +![Datalake page](/img/datalake/opportunity-time-series.png) + **Example 2: Reporting Journey Sessions Created Over Time** Suppose you need to create a report showing journey sessions created over time for a specific journey. You can use SQL to accomplish this task: @@ -189,7 +191,6 @@ Suppose you need to create a report showing journey sessions created over time f select journey_id, start_time, - end_time, details from {org_id}_journey_sessions_final @@ -201,7 +202,7 @@ where This SQL query retrieves the journey sessions created over time for a specific journey -![Datalake page](/img/datalake/opportunity-time-series.png) +![Datalake page](/img/datalake/journey_analytics_query_result.png) You can use any SQL client to connect to the Clickhouse Data Warehouse (DWH) using the credentials provided. For more detailed information, please refer to [this link](https://clickhouse.com/docs/en/integrations/datagrip). diff --git a/static/img/datalake/journey_analytics_query_result.png b/static/img/datalake/journey_analytics_query_result.png new file mode 100644 index 0000000..cc2702b Binary files /dev/null and b/static/img/datalake/journey_analytics_query_result.png differ