hvanhovell commented on code in PR #38468:
URL: https://github.com/apache/spark/pull/38468#discussion_r1013195074
##########
connector/connect/src/main/scala/org/apache/spark/sql/connect/service/SparkConnectStreamHandler.scala:
##########
@@ -49,21 +51,33 @@ class SparkConnectStreamHandler(responseObserver:
StreamObserver[Response]) exte
}
}
- def handlePlan(session: SparkSession, request: proto.Request): Unit = {
+ def handlePlan(session: SparkSession, request: Request): Unit = {
// Extract the plan from the request and convert it to a logical plan
val planner = new SparkConnectPlanner(request.getPlan.getRoot, session)
- val rows =
- Dataset.ofRows(session, planner.transform())
- processRows(request.getClientId, rows)
+ val dataframe = Dataset.ofRows(session, planner.transform())
+ request.getPreferredResultType match {
+ case Request.ResultType.ArrowBatch =>
+ // check whether all data types are supported
Review Comment:
What is not supported?
--
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]