From 79621cfd7870c52c2ad3341b4f87228f91a610d3 Mon Sep 17 00:00:00 2001 From: Ahir Reddy Date: Tue, 8 Apr 2014 15:53:04 -0700 Subject: [PATCH] cleaning up cruft --- sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala | 1 - .../scala/org/apache/spark/sql/api/java/JavaSQLContext.scala | 2 +- 2 files changed, 1 insertion(+), 2 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 fdf28822c59d9..475a126f2dbe6 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 @@ -32,7 +32,6 @@ import org.apache.spark.sql.catalyst.plans.logical.{Subquery, LogicalPlan} import org.apache.spark.sql.catalyst.rules.RuleExecutor import org.apache.spark.sql.columnar.InMemoryColumnarTableScan import org.apache.spark.sql.execution._ -import org.apache.spark.api.java.JavaRDD /** * :: AlphaComponent :: diff --git a/sql/core/src/main/scala/org/apache/spark/sql/api/java/JavaSQLContext.scala b/sql/core/src/main/scala/org/apache/spark/sql/api/java/JavaSQLContext.scala index 4ca4505fbfc5a..573345e42c43c 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/api/java/JavaSQLContext.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/api/java/JavaSQLContext.scala @@ -18,7 +18,6 @@ package org.apache.spark.sql.api.java import java.beans.{Introspector, PropertyDescriptor} -import java.util.{Map => JMap} import org.apache.spark.api.java.{JavaRDD, JavaSparkContext} import org.apache.spark.sql.SQLContext @@ -83,6 +82,7 @@ class JavaSQLContext(sparkContext: JavaSparkContext) { new JavaSchemaRDD(sqlContext, SparkLogicalPlan(ExistingRdd(schema, rowRdd))) } + /** * Loads a parquet file, returning the result as a [[JavaSchemaRDD]]. */