You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Riya Verma (Jira)" <ji...@apache.org> on 2024/05/28 18:21:00 UTC

[jira] [Updated] (SPARK-48442) Add parenthesis to awaitTermination call

     [ https://issues.apache.org/jira/browse/SPARK-48442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Riya Verma updated SPARK-48442:
-------------------------------
    Description: In {{test_stream_reader}} and {{test_stream_writer}} of {*}test_python_streaming_datasource.py{*}, the call {{q.awaitTermination}} does not invoke a function call as intended, but instead returns a python function object. The fix is to change this to {{{}q.awaitTermination(){}}}.  (was: In `test_stream_reader` and `test_stream_writer` of `test_python_streaming_datasource.py`, the call `q.awaitTermination` does not invoke a function call as intended, but instead returns a python function object. The fix is to change this to `q.awaitTermination()`.)

> Add parenthesis to awaitTermination call
> ----------------------------------------
>
>                 Key: SPARK-48442
>                 URL: https://issues.apache.org/jira/browse/SPARK-48442
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 3.4.3
>            Reporter: Riya Verma
>            Priority: Trivial
>              Labels: correctness, starter
>
> In {{test_stream_reader}} and {{test_stream_writer}} of {*}test_python_streaming_datasource.py{*}, the call {{q.awaitTermination}} does not invoke a function call as intended, but instead returns a python function object. The fix is to change this to {{{}q.awaitTermination(){}}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org