diff options
author | Cheng Lian <lian@databricks.com> | 2015-02-16 01:33:37 -0800 |
---|---|---|
committer | Cheng Lian <lian@databricks.com> | 2015-02-16 01:33:37 -0800 |
commit | 199a9e80275ac70582ea32f0f2f5a0a15b168785 (patch) | |
tree | e5e7dda02c2f6903f941a761feb4c814ed94059a /sql | |
parent | d51d6ba1547ae75ac76c9e6d8ea99e937eb7d09f (diff) | |
download | spark-199a9e80275ac70582ea32f0f2f5a0a15b168785.tar.gz spark-199a9e80275ac70582ea32f0f2f5a0a15b168785.tar.bz2 spark-199a9e80275ac70582ea32f0f2f5a0a15b168785.zip |
[Minor] [SQL] Renames stringRddToDataFrame to stringRddToDataFrameHolder for consistency
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/apache/spark/4613)
<!-- Reviewable:end -->
Author: Cheng Lian <lian@databricks.com>
Closes #4613 from liancheng/df-implicit-rename and squashes the following commits:
db8bdd3 [Cheng Lian] Renames stringRddToDataFrame to stringRddToDataFrameHolder for consistency
Diffstat (limited to 'sql')
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala b/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala index 6d1914808a..d20b42de22 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala @@ -235,7 +235,7 @@ class SQLContext(@transient val sparkContext: SparkContext) } /** Creates a single column DataFrame from an RDD[String]. */ - implicit def stringRddToDataFrame(data: RDD[String]): DataFrameHolder = { + implicit def stringRddToDataFrameHolder(data: RDD[String]): DataFrameHolder = { val dataType = StringType val rows = data.mapPartitions { iter => val row = new SpecificMutableRow(dataType :: Nil) |