rangadi commented on code in PR #41580:
URL: https://github.com/apache/spark/pull/41580#discussion_r1231652820


##########
connector/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/SparkConnectPlanner.scala:
##########
@@ -788,6 +790,13 @@ class SparkConnectPlanner(val session: SparkSession) 
extends Logging {
       .logicalPlan
   }
 
+  private def transformCachedRemoteRelation(session: SparkSession, rel: 
proto.CachedRemoteRelation)
+  : LogicalPlan = {
+    SparkConnectService.cachedDataFrameManager
+      .get(session, rel.getRelationId)
+      .logicalPlan

Review Comment:
   Sent a separate PR for this API change to add SessionHolder to 
SparkConnectPlanner. PTAL: https://github.com/apache/spark/pull/41618 
   We can merge that I will incorporate it 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