hvanhovell commented on code in PR #40063:
URL: https://github.com/apache/spark/pull/40063#discussion_r1109707851
##########
connector/connect/common/src/main/protobuf/spark/connect/base.proto:
##########
@@ -152,12 +152,19 @@ message ExecutePlanRequest {
message ExecutePlanResponse {
string client_id = 1;
- ArrowBatch arrow_batch = 2;
+ oneof result_type {
+ ArrowBatch arrow_batch = 2;
+ RemoteDataFrame remote_data_frame = 5;
Review Comment:
Instead of caching the dataframe, we could also return the results and put
them in a client side local relation. The chance that folks are using the
results of a sql command for further processing is very very small.
BTW I do think that a remote dataframe is useful to have (it is very useful
for use cases like input stabilization, dataframe sharing, ...) but I don't
think we need it in this particular case.
--
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]