The SQL standard for pattern matching is MATCH_RECOGNIZE, which is well-supported by
Flink SQL. If you're interested in learning more about this, you might enjoy
.
Complex event processing / pattern recognition is a niche application in the Flink community. It's not clear why it would be beneficial for the community to adopt another easy-to-use API for pattern matching.
In case you missed it, there have been
flink-esper and
flink-siddhi projects. The approach taken by flink-siddhi allows for a fluent DSL without requiring any changes to Flink. You might consider doing something similar.