The Sessionize function maps each click in a session to a unique session identifier. A session is defined as a sequence of clicks by one user that are separated by at most n seconds.
The function is useful both for sessionization and for detecting web crawler (bot) activity. It is typically used to understand user browsing behavior on a web site.
Sessionize is a SQL function. Sample code is included with the Teradata SQLMapReduce Java API.