Yaohua628 commented on pull request #35676:
URL: https://github.com/apache/spark/pull/35676#issuecomment-1057840425
After manual testing locally, changes of `_metadata` in streaming won't
cause any backward-compatible issues for `dropDuplicates()`:
1. with **Spark 3.2**:
`readStream...select("*").dropDuplicates().writeStream...option("checkpointLocation",
".../checkpoint")`
2. verify results (duplicated data did get dropped), verify checkpoint dir
(commits, offsets, sources, state)
3. add some new files including duplicates
4. with **Spark master (3.3 with _metadata feature)** with the **_same_**
checkpoint location:
`readStream...select("*").dropDuplicates().writeStream...option("checkpointLocation",
".../checkpoint")`
5. verify results (duplicated data did get dropped), verify checkpoint dir
(commits, offsets, sources, state)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]