-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-48411][SS][PYTHON] Add E2E test for DropDuplicateWithinWatermark #46740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-48411][SS][PYTHON] Add E2E test for DropDuplicateWithinWatermark #46740
Conversation
.start() | ||
) | ||
self.assertTrue(q1.isActive) | ||
time.sleep(20) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
20 seconds is necessary to make sure the task run at least once.
@eason-yuchen-liu - same here. seems like the GH actions is not running the tests as expected ? |
cc - @HeartSaVioR |
@eason-yuchen-liu, could you please setup the CI as shown in the error message https://github.com/apache/spark/pull/46740/checks?check_run_id=25522033987 |
…a test file for time series & refactor the test file layout
c80987f
to
7d031b8
Compare
.csv("python/test_support/sql/streaming/time") | ||
) | ||
q1 = ( | ||
df.withWatermark("time", "2 seconds") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: can you move withWatermark
and outputMode
to new lines ? Thx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Thanks, merging to master! |
What changes were proposed in this pull request?
This PR adds a test for API DropDuplicateWithinWatermark in Python, which was previously missing.
Why are the changes needed?
Check the correctness of API DropDuplicateWithinWatermark.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Passed:
Was this patch authored or co-authored using generative AI tooling?
No.