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