diff options
author | Reynold Xin <rxin@databricks.com> | 2015-01-29 15:13:09 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-01-29 15:13:09 -0800 |
commit | 715632232d0e6c97e304686608385d3b54a4bcf6 (patch) | |
tree | 747dac8cd85ec89d40537b980346d4d53bd69d93 /examples | |
parent | f9e569452e2f0ae69037644170d8aa79ac6b4ccf (diff) | |
download | spark-715632232d0e6c97e304686608385d3b54a4bcf6.tar.gz spark-715632232d0e6c97e304686608385d3b54a4bcf6.tar.bz2 spark-715632232d0e6c97e304686608385d3b54a4bcf6.zip |
[SPARK-5445][SQL] Consolidate Java and Scala DSL static methods.
Turns out Scala does generate static methods for ones defined in a companion object. Finally no need to separate api.java.dsl and api.scala.dsl.
Author: Reynold Xin <rxin@databricks.com>
Closes #4276 from rxin/dsl and squashes the following commits:
30aa611 [Reynold Xin] Add all files.
1a9d215 [Reynold Xin] [SPARK-5445][SQL] Consolidate Java and Scala DSL static methods.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/src/main/scala/org/apache/spark/examples/sql/RDDRelation.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/main/scala/org/apache/spark/examples/sql/RDDRelation.scala b/examples/src/main/scala/org/apache/spark/examples/sql/RDDRelation.scala index e9f47889f3..82a0b637b3 100644 --- a/examples/src/main/scala/org/apache/spark/examples/sql/RDDRelation.scala +++ b/examples/src/main/scala/org/apache/spark/examples/sql/RDDRelation.scala @@ -19,7 +19,7 @@ package org.apache.spark.examples.sql import org.apache.spark.{SparkConf, SparkContext} import org.apache.spark.sql.SQLContext -import org.apache.spark.sql.api.scala.dsl._ +import org.apache.spark.sql.Dsl._ // One method for defining the schema of an RDD is to make a case class with the desired column // names and types. |