You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/12/01 13:51:10 UTC

[jira] [Commented] (FLINK-3080) Cannot union a data stream with a product of itself

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

ASF GitHub Bot commented on FLINK-3080:
---------------------------------------

GitHub user aljoscha opened a pull request:

    https://github.com/apache/flink/pull/1425

    [FLINK-3080] Relax restrictions of DataStream.union()

    Before, it would not allow unioning with predecessors (also transitive)
    and streams of differing parallelism.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aljoscha/flink union-relax

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1425.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1425
    
----
commit a2c393e329b81015bd959f02f65fa27ebab744ef
Author: Aljoscha Krettek <al...@gmail.com>
Date:   2015-12-01T10:46:53Z

    [FLINK-3080] Relax restrictions of DataStream.union()
    
    Before, it would not allow unioning with predecessors (also transitive)
    and streams of differing parallelism.

----


> Cannot union a data stream with a product of itself
> ---------------------------------------------------
>
>                 Key: FLINK-3080
>                 URL: https://issues.apache.org/jira/browse/FLINK-3080
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 0.10.0
>            Reporter: Vasia Kalavri
>            Assignee: Aljoscha Krettek
>
> Currently it is not possible to union a stream with itself or a product of itself.
> For example, the following code
> {{stream.union(stream.map(...))}}
> fails with this exception: "A DataStream cannot be unioned with itself".
> The documentation currently states that "If you union a data stream with itself you will still only get each element once." and should also be updated.



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