amaliujia commented on code in PR #38276:
URL: https://github.com/apache/spark/pull/38276#discussion_r1001316040


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/dsl/package.scala:
##########
@@ -528,6 +528,8 @@ package object dsl {
       }
 
       def deduplicate(colNames: Attribute*): LogicalPlan = 
Deduplicate(colNames, logicalPlan)
+
+      def distinct(): LogicalPlan = Deduplicate(logicalPlan.output, 
logicalPlan)

Review Comment:
   oh yes because I had to use DataFrame API for testing this ime.
   
   Removed.



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