-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement session time chopping job #103
Comments
@ZavenArra Noticed that processed_at does not exist on the session table but it does on the session_segment table. Should I add a processed_at column to the session table or do we modify the 1st step above to Get the next unprocessed session by querying for a session not linked to a session_segment and a created_at timestamp of more than 24 hours in the past |
session_id on the session_segment table should be unique right? |
A session can have one or more session segments, so session_id will NOT be unique on the session_segment table (if I understand your question correctly). The idea is to chop a session into segments based on some criteria. Yeah processed_at should be added to session, you are right. Once a sessions is finished being processed into segments, this is set to the current time. Maybe it makes sense to be more specific though, in case we add other steps to the pipeline. Something like processed_segements_at |
Okay noted. That's clear. Also for step 3 should that be session_segment.start_time or should I add start_time to the session table? |
The session time chopping job computes the session_segment for each raw_capture in a session.
The algorithm is as follows:
algorithm:
The text was updated successfully, but these errors were encountered: