Hi Jerry, This is not on any roadmap. I (shortly) browsed through this; and this looks like some sort of a window function with very awkward syntax. I think spark provided better constructs for this using dataframes/datasets/nested data...
Feel free to submit a PR. Kind regards, Herman van Hövell 2016-03-01 15:16 GMT+01:00 Jerry Lam <chiling...@gmail.com>: > Hi Spark developers, > > Will you consider to add support for implementing "Pattern matching in > sequences of rows"? More specifically, I'm referring to this: > http://web.cs.ucla.edu/classes/fall15/cs240A/notes/temporal/row-pattern-recogniton-11.pdf > > This is a very cool/useful feature to pattern matching over live > stream/archived data. It is sorted of related to machine learning because > this is usually used in clickstream analysis or path analysis. Also it is > related to streaming because of the nature of the processing (time series > data mostly). It is SQL because there is a good way to express and optimize > the query. > > Best Regards, > > Jerry >