Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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
Attachments
Issue Links
- links to