Sergey Nuyanzin created FLINK-9378:
--------------------------------------
Summary: 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 API & SQL
Reporter: Sergey Nuyanzin
Assignee: Sergey Nuyanzin
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
(v7.6.3#76005)