Skip to content

Commit

Permalink
[SPARK-41625][PYTHON][CONNECT][TESTS] Enable doctest `pyspark.sql.con…
Browse files Browse the repository at this point in the history
…nect.dataframe.DataFrame.isStreaming`

### What changes were proposed in this pull request?
Enable doctest `pyspark.sql.connect.dataframe.DataFrame.isStreaming`

### Why are the changes needed?
for test coverage

the related functions like `readStream` were already implemented

### Does this PR introduce _any_ user-facing change?
no, test-only

### How was this patch tested?
ci

### Was this patch authored or co-authored using generative AI tooling?
no

Closes apache#45603 from zhengruifeng/enable_stream_doctest.

Authored-by: Ruifeng Zheng <ruifengz@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
  • Loading branch information
zhengruifeng authored and sweisdb committed Apr 1, 2024
1 parent e4222e2 commit 2098c76
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/pyspark/sql/connect/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2243,9 +2243,6 @@ def _test() -> None:

globs = pyspark.sql.connect.dataframe.__dict__.copy()

# TODO(SPARK-41625): Support Structured Streaming
del pyspark.sql.connect.dataframe.DataFrame.isStreaming.__doc__

# TODO(SPARK-41888): Support StreamingQueryListener for DataFrame.observe
del pyspark.sql.connect.dataframe.DataFrame.observe.__doc__

Expand Down

0 comments on commit 2098c76

Please sign in to comment.