aboutsummaryrefslogtreecommitdiff
path: root/yarn
diff options
context:
space:
mode:
authorAlice <alice.gugu@gmail.com>2016-08-08 18:00:04 -0700
committerReynold Xin <rxin@databricks.com>2016-08-08 18:00:04 -0700
commite17a76efdb44837c38388a4d0e62436065cd4dc9 (patch)
tree5c215203d2a27eb24783675f2c7aa7719192709e /yarn
parentbca43cd63503eb5287151c5d9ca6ccd8cd13fbc8 (diff)
downloadspark-e17a76efdb44837c38388a4d0e62436065cd4dc9.tar.gz
spark-e17a76efdb44837c38388a4d0e62436065cd4dc9.tar.bz2
spark-e17a76efdb44837c38388a4d0e62436065cd4dc9.zip
[SPARK-16563][SQL] fix spark sql thrift server FetchResults bug
## What changes were proposed in this pull request? Add a constant iterator which point to head of result. The header will be used to reset iterator when fetch result from first row repeatedly. JIRA ticket https://issues.apache.org/jira/browse/SPARK-16563 ## How was this patch tested? This bug was found when using Cloudera HUE connecting to spark sql thrift server, currently SQL statement result can be only fetched for once. The fix was tested manually with Cloudera HUE, With this fix, HUE can fetch spark SQL results repeatedly through thrift server. Author: Alice <alice.gugu@gmail.com> Author: Alice <guhq@garena.com> Closes #14218 from alicegugu/SparkSQLFetchResultsBug.
Diffstat (limited to 'yarn')
0 files changed, 0 insertions, 0 deletions