spark git commit: [SPARK-5827][SQL] Add missing import in the example of SqlContext

2015-02-15 Thread srowen
Repository: spark
Updated Branches:
  refs/heads/branch-1.3 f87f3b755 -> 9c1c70d8c


[SPARK-5827][SQL] Add missing import in the example of SqlContext

If one tries an example by using copy&paste, throw an exception.

Author: Takeshi Yamamuro 

Closes #4615 from maropu/AddMissingImportInSqlContext and squashes the 
following commits:

ab21b66 [Takeshi Yamamuro] Add missing import in the example of SqlContext

(cherry picked from commit c771e475c449fe07cf45f37bdca2ba6ce9600bfc)
Signed-off-by: Sean Owen 


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/9c1c70d8
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/9c1c70d8
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/9c1c70d8

Branch: refs/heads/branch-1.3
Commit: 9c1c70d8cc8cf3afedecbc8868b3765c15bd493e
Parents: f87f3b7
Author: Takeshi Yamamuro 
Authored: Sun Feb 15 14:42:20 2015 +
Committer: Sean Owen 
Committed: Sun Feb 15 14:42:28 2015 +

--
 sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala | 2 ++
 1 file changed, 2 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/spark/blob/9c1c70d8/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
--
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 a1736d0..6d19148 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
@@ -286,6 +286,7 @@ class SQLContext(@transient val sparkContext: SparkContext)
* Example:
* {{{
*  import org.apache.spark.sql._
+   *  import org.apache.spark.sql.types._
*  val sqlContext = new org.apache.spark.sql.SQLContext(sc)
*
*  val schema =
@@ -377,6 +378,7 @@ class SQLContext(@transient val sparkContext: SparkContext)
* Example:
* {{{
*  import org.apache.spark.sql._
+   *  import org.apache.spark.sql.types._
*  val sqlContext = new org.apache.spark.sql.SQLContext(sc)
*
*  val schema =


-
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org



spark git commit: [SPARK-5827][SQL] Add missing import in the example of SqlContext

2015-02-15 Thread srowen
Repository: spark
Updated Branches:
  refs/heads/master ed5f4bb7c -> c771e475c


[SPARK-5827][SQL] Add missing import in the example of SqlContext

If one tries an example by using copy&paste, throw an exception.

Author: Takeshi Yamamuro 

Closes #4615 from maropu/AddMissingImportInSqlContext and squashes the 
following commits:

ab21b66 [Takeshi Yamamuro] Add missing import in the example of SqlContext


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c771e475
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c771e475
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c771e475

Branch: refs/heads/master
Commit: c771e475c449fe07cf45f37bdca2ba6ce9600bfc
Parents: ed5f4bb
Author: Takeshi Yamamuro 
Authored: Sun Feb 15 14:42:20 2015 +
Committer: Sean Owen 
Committed: Sun Feb 15 14:42:20 2015 +

--
 sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala | 2 ++
 1 file changed, 2 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/spark/blob/c771e475/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
--
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 a1736d0..6d19148 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
@@ -286,6 +286,7 @@ class SQLContext(@transient val sparkContext: SparkContext)
* Example:
* {{{
*  import org.apache.spark.sql._
+   *  import org.apache.spark.sql.types._
*  val sqlContext = new org.apache.spark.sql.SQLContext(sc)
*
*  val schema =
@@ -377,6 +378,7 @@ class SQLContext(@transient val sparkContext: SparkContext)
* Example:
* {{{
*  import org.apache.spark.sql._
+   *  import org.apache.spark.sql.types._
*  val sqlContext = new org.apache.spark.sql.SQLContext(sc)
*
*  val schema =


-
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org