wForget commented on PR #5591:
URL: https://github.com/apache/kyuubi/pull/5591#issuecomment-1803001687
It might be simpler for us to make changes in the executeStatement method,
like:
change
```
result = spark.sql(statement)
```
to
```
if (saveResultToPath) {
spark.sql(statement).write.format(format).save(resultPath)
result = spark.read.load(resultPath)
} else {
result = spark.sql(statement)
}
```
WDYT? cc @pan3793 @cxzl25
--
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]