You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dian Fu (Jira)" <ji...@apache.org> on 2020/06/04 12:03:00 UTC

[jira] [Created] (FLINK-18126) Correct the exception handling of the Python CompletableFuture

Dian Fu created FLINK-18126:
-------------------------------

             Summary: Correct the exception handling of the Python CompletableFuture
                 Key: FLINK-18126
                 URL: https://issues.apache.org/jira/browse/FLINK-18126
             Project: Flink
          Issue Type: Bug
          Components: API / Python
    Affects Versions: 1.11.0
            Reporter: Dian Fu
            Assignee: Dian Fu
             Fix For: 1.11.0


The implementation of method `exception` and `set_exception` are not correct. The purpose of the Python CompletableFuture is to hole the results from the Java CompletableFuture. We should expose the exception inside the Java CompletableFuture to users instead of allow Python users set the exception.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)