GitHub user sun-rui opened a pull request:
https://github.com/apache/spark/pull/7419
[SPARK-8844][SPARKR] head/collect is broken in SparkR.
This is a WIP patch for SPARK-8844 for collecting reviews.
This bug is about reading an empty DataFrame. in readCol(),
lapply(1:numRows, function(x) {
does not take into consideration the case where numRows = 0.
Will add unit test case.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sun-rui/spark SPARK-8844
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/7419.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #7419
----
commit 965a2bd3bf18d585af53f3a3826b6b3ff7b0b5a5
Author: Sun Rui <[email protected]>
Date: 2015-07-15T14:04:05Z
[SPARK-8844][SPARKR] head/collect is broken in SparkR.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]