[
https://issues.apache.org/jira/browse/FLINK-1900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14499470#comment-14499470
]
ASF GitHub Bot commented on FLINK-1900:
---------------------------------------
GitHub user FelixNeutatz opened a pull request:
https://github.com/apache/flink/pull/608
[FLINK-1900] add missing '
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/FelixNeutatz/incubator-flink patch-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/608.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #608
----
commit 07e972e0dc87cb9da9fe7a7fa475062ba406ca39
Author: FelixNeutatz <[email protected]>
Date: 2015-04-17T08:31:18Z
[FLINK-1900] add missing '
----
> Table API documentation example does not work
> ---------------------------------------------
>
> Key: FLINK-1900
> URL: https://issues.apache.org/jira/browse/FLINK-1900
> Project: Flink
> Issue Type: Bug
> Components: Documentation
> Reporter: Timo Walther
> Assignee: Aljoscha Krettek
>
> Running the word count example leads to
> {code}
> Exception in thread "main" org.apache.flink.api.table.ExpressionException:
> Expression result type org.apache.flink.api.table.Row(word: String,
> intermediate.1: Integer) does not have the samefields as output type
> io.ssc.trackthetrackers.analysis.algorithms.LouvainCommunityDetection$WC$3(word:
> String, count: Integer)
> at
> org.apache.flink.api.java.table.JavaBatchTranslator.translate(JavaBatchTranslator.scala:88)
> at
> org.apache.flink.api.scala.table.ScalaBatchTranslator.translate(ScalaBatchTranslator.scala:55)
> at
> org.apache.flink.api.scala.table.TableConversions.toSet(TableConversions.scala:37)
> at
> io.ssc.trackthetrackers.analysis.algorithms.LouvainCommunityDetection$.detectCommunities(LouvainCommunityDetection.scala:112)
> at
> io.ssc.trackthetrackers.analysis.algorithms.LouvainCommunityDetection$delayedInit$body.apply(LouvainCommunityDetection.scala:38)
> at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
> at
> scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
> at scala.App$$anonfun$main$1.apply(App.scala:71)
> at scala.App$$anonfun$main$1.apply(App.scala:71)
> at scala.collection.immutable.List.foreach(List.scala:318)
> at
> scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
> at scala.App$class.main(App.scala:71)
> at
> io.ssc.trackthetrackers.analysis.algorithms.LouvainCommunityDetection$.main(LouvainCommunityDetection.scala:36)
> at
> io.ssc.trackthetrackers.analysis.algorithms.LouvainCommunityDetection.main(LouvainCommunityDetection.scala)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)