[
https://issues.apache.org/jira/browse/FLINK-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14595830#comment-14595830
]
Stephan Ewen commented on FLINK-2197:
-------------------------------------
How can we solve this? Can we change the package object in the streaming scala
API to only import the implicit function from the batch scala API, such that
there is only one such function actually?
> Scala API is not working when using batch and streaming API in the same
> program
> -------------------------------------------------------------------------------
>
> Key: FLINK-2197
> URL: https://issues.apache.org/jira/browse/FLINK-2197
> Project: Flink
> Issue Type: Bug
> Reporter: Till Rohrmann
>
> If one uses the the Scala batch and streaming API from within the same
> program and imports both corresponding package objects, then the Scala API no
> longer works because it is lacking the implicit {{TypeInformation}} values.
> The reason for this is that both package objects contain an implicit function
> {createTypeInformation}}. This creates an ambiguity which is not possible for
> the Scala compiler to resolve.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)