eason-yuchen-liu commented on code in PR #46797:
URL: https://github.com/apache/spark/pull/46797#discussion_r1621276140


##########
docs/structured-streaming-programming-guide.md:
##########
@@ -2103,7 +2103,7 @@ streamingDf.dropDuplicates("guid")
 // With watermark using guid and eventTime columns
 streamingDf
   .withWatermark("eventTime", "10 seconds")
-  .dropDuplicates("guid", "eventTime")
+  .dropDuplicates(Vector("guid", "eventTime"))

Review Comment:
   Yeah make sense. Will revert it.



##########
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:
   Same here.



-- 
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]

Reply via email to