You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yun Gao (Jira)" <ji...@apache.org> on 2022/04/13 06:28:05 UTC

[jira] [Updated] (FLINK-26756) Failed to deserialize for match recognize

     [ https://issues.apache.org/jira/browse/FLINK-26756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yun Gao updated FLINK-26756:
----------------------------
    Fix Version/s: 1.16.0

> 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
>              Labels: pull-request-available
>             Fix For: 1.15.0, 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)