[ 
https://issues.apache.org/jira/browse/FLINK-4790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15562316#comment-15562316
 ] 

Timo Walther commented on FLINK-4790:
-------------------------------------

When using the Scala API, make sure to import the package: 
{{org.apache.flink.api.scala._}}

See also: 
http://flink.apache.org/faq.html#in-scala-api-i-get-an-error-about-implicit-values-and-evidence-parameters
 

If this solves the issue, please close this issue.

> FlinkML - Error of type while using readCsvFile
> -----------------------------------------------
>
>                 Key: FLINK-4790
>                 URL: https://issues.apache.org/jira/browse/FLINK-4790
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 1.1.2
>            Reporter: Thomas FOURNIER
>            Priority: Minor
>              Labels: patch
>
> Hi,
> I'm going through the 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")
>                                                                     ^
> Is it related to this issue ?
> https://issues.apache.org/jira/browse/FLINK-1255
> Thanks
> Thomas



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

Reply via email to