[ https://issues.apache.org/jira/browse/FLINK-26756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17509583#comment-17509583 ]
godfrey he commented on FLINK-26756: ------------------------------------ cc [~twalthr] > Failed to deserialize for match recognize > ----------------------------------------- > > Key: FLINK-26756 > URL: https://issues.apache.org/jira/browse/FLINK-26756 > Project: Flink > Issue Type: Bug > Components: Table SQL / Planner > Affects Versions: 1.15.0 > Reporter: godfrey he > Priority: Major > Fix For: 1.15.0 > > > Currently, the json deserialization logic is not tested, there de is a bug in > {{JsonPlanTestBase}}#{{compileSqlAndExecutePlan}} method. The correct logic > is the {{CompiledPlan}} should be converted to json string, and then the json > string be deserialized to {{CompiledPlan}} object. > After correcting the logic, {{MatchRecognizeJsonPlanITCase}} will get the > following exception: > {code:java} > at > org.apache.flink.table.api.internal.TableEnvironmentImpl.loadPlan(TableEnvironmentImpl.java:714) > at > org.apache.flink.table.planner.utils.JsonPlanTestBase.compileSqlAndExecutePlan(JsonPlanTestBase.java:77) > at > org.apache.flink.table.planner.runtime.stream.jsonplan.MatchRecognizeJsonPlanITCase.testSimpleMatch(MatchRecognizeJsonPlanITCase.java:66) > {code} > -- This message was sent by Atlassian Jira (v8.20.1#820001)