spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Sai Shankar <ashan...@netflix.com.INVALID>
Subject Spark dataset to byte array over grpc
Date Mon, 23 Apr 2018 18:49:12 GMT
Hi!
I'm building a spark app which runs a spark-sql query and send results to
client over grpc(my proto file is configured to send the sql output as
"bytes"). The client then displays the output rows. When I run spark.sql, I
get a DataSet<Rows>. How do I convert this to byte array?
Also is there a better way to send this output to client?

Thanks,
Ashwin

Mime
View raw message