HyukjinKwon commented on code in PR #46797:
URL: https://github.com/apache/spark/pull/46797#discussion_r1619613153
##########
docs/structured-streaming-programming-guide.md:
##########
@@ -2119,7 +2119,7 @@ streamingDf.dropDuplicates("guid");
// With watermark using guid and eventTime columns
streamingDf
.withWatermark("eventTime", "10 seconds")
- .dropDuplicates("guid", "eventTime");
+ .dropDuplicates({"guid", "eventTime"});
Review Comment:
because of `@scala.annotation.varargs`, Java should work too with
`dropDuplicates(col1: String, cols: String*)`?
--
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]