<https://github.com/apache/flink/pull/27152> Is a...
# troubleshooting
w
https://github.com/apache/flink/pull/27152 Is anyone interested in this PR? I'm the author of this PR, and I've completed the FLIP code since its creation and fixed as many e2e tests as possible. However, no one has asked any questions in the discussion thread so far. Are there any community members with free time who could offer some suggestions? I'd really like to push this PR to be merged into the main branch.
d
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

this video▾

. 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.
w
Hello, I have carefully read the code examples of flink-siddhi you mentioned. In general, the project does provide a slightly simplified approach to pattern recognition. However, it has the following issues: 1. This project is not suitable for marketing personnel. Let's assume some advertising companies are interested in what kind of ads their target audience prefers. Marketing planners typically choose simpler expressions rather than those geared towards R&D personnel. 2. Supporting the MATCH_RECOGNIZE standard does not mean it's absolutely necessary for all company scenarios in practice. You'll observe that both the previously proposed CEP SQL and flink-siddhi inevitably intrude into the planner layer to make CEP rule changes effective. This means a large amount of regression testing is required, which is not user-friendly. I believe the approach I'm providing is closer to user needs in areas such as advertising audience segmentation, finance, and the Internet of Things.