flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timo Walther (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-5357) WordCountTable fails
Date Fri, 16 Dec 2016 15:55:58 GMT
Timo Walther created FLINK-5357:
-----------------------------------

             Summary: WordCountTable fails
                 Key: FLINK-5357
                 URL: https://issues.apache.org/jira/browse/FLINK-5357
             Project: Flink
          Issue Type: Bug
          Components: Table API & SQL
            Reporter: Timo Walther
            Assignee: Timo Walther


The execution of org.apache.flink.table.examples.java.WordCountTable fails:

{code}
Exception in thread "main" org.apache.flink.table.api.TableException: POJO does not define
field name: TMP_0
	at org.apache.flink.table.typeutils.TypeConverter$$anonfun$2.apply(TypeConverter.scala:85)
	at org.apache.flink.table.typeutils.TypeConverter$$anonfun$2.apply(TypeConverter.scala:81)
	at scala.collection.immutable.List.foreach(List.scala:318)
	at org.apache.flink.table.typeutils.TypeConverter$.determineReturnType(TypeConverter.scala:81)
	at org.apache.flink.table.plan.nodes.dataset.DataSetCalc.translateToPlan(DataSetCalc.scala:110)
	at org.apache.flink.table.api.BatchTableEnvironment.translate(BatchTableEnvironment.scala:305)
	at org.apache.flink.table.api.BatchTableEnvironment.translate(BatchTableEnvironment.scala:289)
	at org.apache.flink.table.api.java.BatchTableEnvironment.toDataSet(BatchTableEnvironment.scala:146)
	at org.apache.flink.table.examples.java.WordCountTable.main(WordCountTable.java:56)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
{code} 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message