[
https://issues.apache.org/jira/browse/FLINK-9378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-9378:
----------------------------------
Labels: pull-request-available (was: )
> Improve TableException message with TypeName usage
> --------------------------------------------------
>
> Key: FLINK-9378
> URL: https://issues.apache.org/jira/browse/FLINK-9378
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / API
> Reporter: Sergey Nuyanzin
> Assignee: Sergey Nuyanzin
> Priority: Trivial
> Labels: pull-request-available
>
> Currently in TableException simple name is in use. It is not clear what is
> the issue while having error message like {noformat}
> Exception in thread "main" org.apache.flink.table.api.TableException: Result
> field does not match requested type. Requested: Date; Actual: Date
> at
> org.apache.flink.table.api.TableEnvironment$$anonfun$generateRowConverterFunction$1.apply(TableEnvironment.scala:953)
> {noformat}
> or
> {noformat}Caused by: org.apache.flink.table.api.TableException: Type is not
> supported: Date
> at
> org.apache.flink.table.api.TableException$.apply(exceptions.scala:53){noformat}
> also for more detailed have a look at FLINK-9341
--
This message was sent by Atlassian Jira
(v8.3.4#803005)