[ 
https://issues.apache.org/jira/browse/FLINK-4792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas FOURNIER closed FLINK-4792.
----------------------------------
    Resolution: Fixed

> Update documentation - FlinkML/QuickStart Guide
> -----------------------------------------------
>
>                 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.html
> When 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)

Reply via email to