[
https://issues.apache.org/jira/browse/BEAM-2486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16075681#comment-16075681
]
ASF GitHub Bot commented on BEAM-2486:
--------------------------------------
GitHub user kennknowles opened a pull request:
https://github.com/apache/beam/pull/3502
[BEAM-2486] 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:
- [x] Make sure the PR title is formatted like:
`[BEAM-<Jira issue #>] Description of pull request`
- [x] Make sure tests pass via `mvn clean verify`.
- [x] Replace `<Jira issue #>` in the title with the actual Jira issue
number, if there is one.
- [x] If this contribution is large, please file an Apache
[Individual Contributor License
Agreement](https://www.apache.org/licenses/icla.pdf).
---
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kennknowles/beam state-KV
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/3502.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 #3502
----
commit 5a5445f237e84a4092158c45bb93af0c0b05b69d
Author: Kenneth Knowles <[email protected]>
Date: 2017-07-06T00:24:25Z
Reject stateful ParDo if coder not deterministic KvCoder
----
> 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.2.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)