Thomas FOURNIER created FLINK-4792:
--------------------------------------
Summary: Update documentation - QuickStart - FlinkML
Key: FLINK-4792
URL:
https://issues.apache.org/jira/browse/FLINK-4792 Project: Flink
Issue Type: Improvement
Reporter: Thomas FOURNIER
Priority: Trivial
Hi,
I'm going through the first steps of FlinkML/QuickStart guide:
https://ci.apache.org/projects/flink/flink-docs-release-1.2/dev/libs/ml/quickstart.htmlWhen using env.readCsvFile:
val env = ExecutionEnvironment.getExecutionEnvironment
val survival = env.readCsvFile[(String, String, String, String)]("path/data")
I encounter the following error:
Error:(17, 69) could not find implicit value for evidence parameter of type org.apache.flink.api.common.typeinfo.TypeInformation[(String, String, String, String)]
Error occurred in an application involving default arguments.
val survival = env.readCsvFile[(String, String, String, String)]("path/data")
To solve this issue, you need to do the following imports:
import org.apache.flink.api.scala._ ( instead of import org.apache.flink.api.scala.ExecutionEnvironment as documented).
I think it would be relevant to update the documentation, even if this point is mentioned in FAQ.
Thanks
Best
Thomas
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)