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/10/20 19:22:27 UTC

[jira] [Commented] (FLINK-2880) Allow DeserializationSchema to throw IOException in deserialization method

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

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

GitHub user StephanEwen opened a pull request:

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

    [FLINK-2880] [streaming] [API-Breaking] Allow DeserializationSchema to forward exceptions

    The DeserializationSchema is now allowed to forward exceptions on deserialization.
    This is useful because many non-trivial decoders (Flink's TypeSerializers, Avro, etc) may throw exceptions. Otherwise, this leads to clumly catching and nesting of exceptions.


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

    $ git pull https://github.com/StephanEwen/incubator-flink deser_schema_exceptions

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

    https://github.com/apache/flink/pull/1275.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 #1275
    
----
commit 0be44e7244ea7405ca1417735ca4d00d7d640082
Author: Stephan Ewen <se...@apache.org>
Date:   2015-10-20T17:17:59Z

    [FLINK-2880] [streaming] Allow DeserializationSchema to forward exceptions.

----


> Allow DeserializationSchema to throw IOException in deserialization method
> --------------------------------------------------------------------------
>
>                 Key: FLINK-2880
>                 URL: https://issues.apache.org/jira/browse/FLINK-2880
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming
>            Reporter: Stephan Ewen
>            Assignee: Stephan Ewen
>            Priority: Critical
>             Fix For: 0.10
>
>
> The DeserializationSchema should be allowed to forward exceptions on deserialization, as they are thrown by many advanced de-coder methods (like Avro)



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