[ https://issues.apache.org/jira/browse/FLINK-31182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jane Chan updated FLINK-31182: ------------------------------ Summary: CompiledPlan cannot deserialize BridgingSqlFunction with MissingTypeStrategy (was: CompiledPlan cannot deserialize BridgingSqlFunction correctly) > CompiledPlan cannot deserialize BridgingSqlFunction with MissingTypeStrategy > ---------------------------------------------------------------------------- > > Key: FLINK-31182 > URL: https://issues.apache.org/jira/browse/FLINK-31182 > Project: Flink > Issue Type: Bug > Components: Table SQL / Planner > Affects Versions: 1.17.0, 1.18.0, 1.17.1 > Reporter: Jane Chan > Priority: Major > Attachments: screenshot-1.png > > > This issue is reported from the [user mail > list|https://lists.apache.org/thread/dglf8zgtt1yx3vrdytn0dlv7b3pw1nq6]. > The stacktrace is > {code} > Unable to find source-code formatter for language: text. Available languages > are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, > groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, > perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, > yamlCaused by: org.apache.flink.table.api.TableException: Could not resolve > internal system function '$UNNEST_ROWS$1'. This is a bug, please file an > issue. > at > org.apache.flink.table.planner.plan.nodes.exec.serde.RexNodeJsonDeserializer.deserializeInternalFunction(RexNodeJsonDeserializer.java:392) > at > org.apache.flink.table.planner.plan.nodes.exec.serde.RexNodeJsonDeserializer.deserializeSqlOperator(RexNodeJsonDeserializer.java:337) > at > org.apache.flink.table.planner.plan.nodes.exec.serde.RexNodeJsonDeserializer.deserializeCall(RexNodeJsonDeserializer.java:307) > at > org.apache.flink.table.planner.plan.nodes.exec.serde.RexNodeJsonDeserializer.deserialize(RexNodeJsonDeserializer.java:146) > at > org.apache.flink.table.planner.plan.nodes.exec.serde.RexNodeJsonDeserializer.deserialize(RexNodeJsonDeserializer.java:128) > at > org.apache.flink.table.planner.plan.nodes.exec.serde.RexNodeJsonDeserializer.deserialize(RexNodeJsonDeserializer.java:115) > {code} > The root cause is that although ModuleManager can resolve '$UNNEST_ROWS$1', > FunctionCatalogOperatorTable#convertToBridgingSqlFunction cannot infer output > type strategy. > !screenshot-1.png|width=675,height=295! -- This message was sent by Atlassian Jira (v8.20.10#820010)