diff options
author | gatorsmile <gatorsmile@gmail.com> | 2016-06-27 23:12:17 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-06-27 23:12:17 -0700 |
commit | 4cbf611c1dc88111ff49d005e902ad5864799ede (patch) | |
tree | 2de650f75251ed70b6991e6503fa0df462646b9c /R/pkg/inst/tests | |
parent | dd6b7dbe7043f3fa3d2e3993d2e13f87231a59ca (diff) | |
download | spark-4cbf611c1dc88111ff49d005e902ad5864799ede.tar.gz spark-4cbf611c1dc88111ff49d005e902ad5864799ede.tar.bz2 spark-4cbf611c1dc88111ff49d005e902ad5864799ede.zip |
[SPARK-16202][SQL][DOC] Correct The Description of CreatableRelationProvider's createRelation
#### What changes were proposed in this pull request?
The API description of `createRelation` in `CreatableRelationProvider` is misleading. The current description only expects users to return the relation.
```Scala
trait CreatableRelationProvider {
def createRelation(
sqlContext: SQLContext,
mode: SaveMode,
parameters: Map[String, String],
data: DataFrame): BaseRelation
}
```
However, the major goal of this API should also include saving the `DataFrame`.
Since this API is critical for Data Source API developers, this PR is to correct the description.
#### How was this patch tested?
N/A
Author: gatorsmile <gatorsmile@gmail.com>
Closes #13903 from gatorsmile/readUnderscoreFiles.
Diffstat (limited to 'R/pkg/inst/tests')
0 files changed, 0 insertions, 0 deletions