[ https://issues.apache.org/jira/browse/FLINK-26756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
godfrey he closed FLINK-26756. ------------------------------ Resolution: Fixed Fixed in master: f8d2bdb19eb954ef384a78b5e21991a4327c23db 1.15.0: 1556adf753d11a9e3548cb7e6b73160a0721bdcb > 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 > Assignee: godfrey he > Priority: Major > Labels: pull-request-available > Fix For: 1.16.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)