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

ASF GitHub Bot commented on BEAM-2486:
--------------------------------------

GitHub user kennknowles opened a pull request:

    https://github.com/apache/beam/pull/3519

    [BEAM-2486] Cherry pick for 2.1.0: Reject stateful ParDo if coder not 
deterministic KvCoder

    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
    
     - [ ] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [ ] Make sure tests pass via `mvn clean verify`.
     - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License 
Agreement](https://www.apache.org/licenses/icla.pdf).
    
    ---
    
    R: @jbonofre this is a cherry pick of #3502 

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

    $ git pull https://github.com/kennknowles/beam state-KV-2.1.0

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

    https://github.com/apache/beam/pull/3519.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 #3519
    
----
commit 4a823cbdc5beb6f2bb9491fedbf4e68bb821e8af
Author: Kenneth Knowles <[email protected]>
Date:   2017-07-06T00:24:25Z

    Reject stateful ParDo if coder not KvCoder with deterministic key coder

----


> Should throws some useful messages when statefulParDo use non-KV input
> ----------------------------------------------------------------------
>
>                 Key: BEAM-2486
>                 URL: https://issues.apache.org/jira/browse/BEAM-2486
>             Project: Beam
>          Issue Type: Improvement
>          Components: runner-core, runner-flink
>            Reporter: Jingsong Lee
>            Assignee: Kenneth Knowles
>             Fix For: 2.1.0
>
>
> Now Flink runner will throws a ClassCastException without detail messages 
> when a statefulParDo use non-KV input. It is not easy for users to find 
> errors and causes. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to