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


##########
connector/connect/src/test/scala/org/apache/spark/sql/connect/planner/SparkConnectProtoSuite.scala:
##########
@@ -267,6 +267,12 @@ class SparkConnectProtoSuite extends PlanTest with 
SparkConnectPlanTest {
       sparkTestRelation.summary("count", "mean", "stddev"))
   }
 
+  test("Test crosstab") {
+    comparePlans(
+      connectTestRelation.crosstab("id", "name"),
+      sparkTestRelation.stat.crosstab("id", "name"))

Review Comment:
   Can we also add the `stat` layer to the DSL so DSL can have the same invoke 
chain: relation.stat.xxx?



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