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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)