Skip to content
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

Event Stream Analysis API #178

Open
davidkohn88 opened this issue Jul 14, 2021 · 0 comments
Open

Event Stream Analysis API #178

davidkohn88 opened this issue Jul 14, 2021 · 0 comments
Labels
feature-request And area of analysis that could be made easier

Comments

@davidkohn88
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The basic problem is: I have a stream of events, ie user behavior on a website, I want to find out how many of the streams have a user visiting a page, then scrolling within a given period of time, then doing another thing, without a page switch in the meantime...

I might then want to count how often this happened, or see user trends or whatever else.

This sort of event stream analysis is very difficult in SQL, there are efforts to work this into new syntax for SQL namely the match_recognize keyword: https://modern-sql.com/feature/match_recognize, but that only exists in certain Oracle implementations for now and I find the syntax somewhat confusing, though very powerful.

this is also very powerful for things like log analysis and the like.

Describe the solution you'd like
Extend the timeseries API to work with event data and provide a series of functions for analyzing / fingerprinting event series (perhaps it's actually a separate type called an eventseries?). You could then provide a regex like pattern matching language that has a part of it describing the length of time that can be between events etc.

Additional context
This comes out of a conversation with a data analyst friend who described some difficult problems they were facing.

@davidkohn88 davidkohn88 added the feature-request And area of analysis that could be made easier label Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request And area of analysis that could be made easier
Projects
None yet
Development

No branches or pull requests

1 participant