You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sergey Nuyanzin (JIRA)" <ji...@apache.org> on 2018/05/16 09:53:00 UTC

[jira] [Created] (FLINK-9378) Improve TableException message with TypeName usage

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 &amp; 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)