anishshri-db opened a new pull request, #50615:
URL: https://github.com/apache/spark/pull/50615

   ### What changes were proposed in this pull request?
   Fix flaky test around watermark due to additional batch causing empty df
   
   
   ### Why are the changes needed?
   Without the changes, sometimes we would see the test fail because the extra 
batch with empty df case was not accounted for.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Test only change
   
   ```
   Will test the following Python tests: 
['pyspark.sql.tests.pandas.test_pandas_transform_with_state 
TransformWithStateInPandasTests.test_transform_with_state_with_wmark_and_non_event_time']
   python3.9 python_implementation is CPython
   python3.9 version is: Python 3.9.20
   Starting test(python3.9): 
pyspark.sql.tests.pandas.test_pandas_transform_with_state 
TransformWithStateInPandasTests.test_transform_with_state_with_wmark_and_non_event_time
 (temp output: 
/Users/anish.shrigondekar/spark/spark/python/target/ad6814cf-2fcb-4f6c-a6c3-d63ce94013d4/python3.9__pyspark.sql.tests.pandas.test_pandas_transform_with_state_TransformWithStateInPandasTests.test_transform_with_state_with_wmark_and_non_event_time__7nb2vczb.log)
   Finished test(python3.9): 
pyspark.sql.tests.pandas.test_pandas_transform_with_state 
TransformWithStateInPandasTests.test_transform_with_state_with_wmark_and_non_event_time
 (40s)
   Tests passed in 40 seconds
   ```
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to