GitHub user liancheng opened a pull request:
https://github.com/apache/spark/pull/5265
[SPARK-6608] [SQL] Makes DataFrame.rdd a lazy val
Before 1.3.0, `SchemaRDD.id` works as a unique identifier of each
`SchemaRDD`. In 1.3.0, unlike `SchemaRDD`, `DataFrame` is no longer an RDD, and
`DataFrame.rdd` is actually a function which always returns a new RDD instance.
Making `DataFrame.rdd` a lazy val should bring the unique identifier back.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liancheng/spark spark-6608
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5265.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 #5265
----
commit 7f37d2142a388e5717ae2c3e89152c8c735904cc
Author: Cheng Lian <[email protected]>
Date: 2015-03-30T12:34:32Z
Makes DataFrame.rdd a lazy val
----
---
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]