diff options
author | OopsOutOfMemory <victorshengli@126.com> | 2015-02-06 12:41:28 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-02-06 12:41:28 -0800 |
commit | b62c35245a6c9bee6a335aa5dcfcca2547e85406 (patch) | |
tree | a86e751909a47138da7cd054b5e9a1242102346c | |
parent | 3eccf29ce061559c86e6f7338851932fc89a9afd (diff) | |
download | spark-b62c35245a6c9bee6a335aa5dcfcca2547e85406.tar.gz spark-b62c35245a6c9bee6a335aa5dcfcca2547e85406.tar.bz2 spark-b62c35245a6c9bee6a335aa5dcfcca2547e85406.zip |
[SQL][HiveConsole][DOC] HiveConsole `correct hiveconsole imports`
Sorry for that PR #4330 has some mistakes.
I correct it.... so it works correctly now.
Author: OopsOutOfMemory <victorshengli@126.com>
Closes #4389 from OopsOutOfMemory/doc and squashes the following commits:
843eed9 [OopsOutOfMemory] correct hiveconsole imports
-rw-r--r-- | project/SparkBuild.scala | 1 | ||||
-rw-r--r-- | sql/README.md | 9 |
2 files changed, 9 insertions, 1 deletions
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index f63f9c1982..5e3051c091 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -276,6 +276,7 @@ object Hive { |import org.apache.spark.sql.catalyst.plans.logical._ |import org.apache.spark.sql.catalyst.rules._ |import org.apache.spark.sql.catalyst.util._ + |import org.apache.spark.sql.Dsl._ |import org.apache.spark.sql.execution |import org.apache.spark.sql.hive._ |import org.apache.spark.sql.hive.test.TestHive._ diff --git a/sql/README.md b/sql/README.md index 254ab8eb63..a79249965e 100644 --- a/sql/README.md +++ b/sql/README.md @@ -29,12 +29,19 @@ From here you can execute queries with HiveQl and manipulate DataFrame by using catalyst$ build/sbt hive/console [info] Starting scala interpreter... +import org.apache.spark.sql.catalyst.analysis._ +import org.apache.spark.sql.catalyst.dsl._ +import org.apache.spark.sql.catalyst.errors._ +import org.apache.spark.sql.catalyst.expressions._ +import org.apache.spark.sql.catalyst.plans.logical._ +import org.apache.spark.sql.catalyst.rules._ +import org.apache.spark.sql.catalyst.util._ import org.apache.spark.sql.Dsl._ +import org.apache.spark.sql.execution import org.apache.spark.sql.hive._ import org.apache.spark.sql.hive.test.TestHive._ import org.apache.spark.sql.types._ import org.apache.spark.sql.parquet.ParquetTestData -Welcome to Scala version 2.10.4 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_45). Type in expressions to have them evaluated. Type :help for more information. |