Github user maropu commented on a diff in the pull request: https://github.com/apache/spark/pull/22219#discussion_r214809444 --- Diff: sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkExecuteStatementOperation.scala --- @@ -120,10 +120,11 @@ private[hive] class SparkExecuteStatementOperation( resultList = None result.toLocalIterator.asScala } else { - if (resultList.isEmpty) { - resultList = Some(result.collect()) --- End diff -- Can you keep the current behavior? Then, please implement a `SeqView` iteration model turned on/off by a new option.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org