beliefer commented on code in PR #39091: URL: https://github.com/apache/spark/pull/39091#discussion_r1125777299
########## connector/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/SparkConnectPlanner.scala: ########## @@ -338,6 +340,22 @@ class SparkConnectPlanner(session: SparkSession) { } } + private def transformCollectMetrics(rel: proto.CollectMetrics): LogicalPlan = { + val metrics = rel.getMetricsList.asScala.map { expr => + Column(transformExpression(expr)) + } + + if (rel.getIsObservation) { Review Comment: @hvanhovell is_observation has been 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org