Randy Zwitch 1/8/2015

Sessionizing Log Data Using SQL

Read Original

This article provides a detailed SQL tutorial for sessionizing log data, a common feature engineering task in data science. It explains how to use window functions like LAG() to define session boundaries based on time intervals and generate session IDs, using PostgreSQL as an example applicable to any SQL dialect supporting window functions.

Sessionizing Log Data Using SQL

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week