Skip to content

Commit 3e7d889

Browse files
committed
SPARK-6548 minor fix
1 parent 213c60e commit 3e7d889

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

docs/sql-programming-guide.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,11 +1265,7 @@ This command builds a new assembly jar that includes Hive. Note that this Hive a
12651265
on all of the worker nodes, as they will need access to the Hive serialization and deserialization libraries
12661266
(SerDes) in order to access data stored in Hive.
12671267

1268-
Configuration of Hive is done by placing your `hive-site.xml` file in `conf/`. Please note when running
1269-
the query on YARN cluster (`yarn-cluster` mode),the `datanucleus` jars under `lib_managed/jars` directory
1270-
and `hive-site.xml` under `conf/` directory need to be available on driver and all executors launched by
1271-
YARN cluster. The convenient way to do this is adding them through `--jars` option and `--file` option of
1272-
spark-submit command.
1268+
Configuration of Hive is done by placing your `hive-site.xml` file in `conf/`.
12731269

12741270

12751271
<div class="codetabs">

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/SqlParser.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ class SqlParser extends AbstractSparkSQLParser with DataTypeParser {
293293
| AVG ~ "(" ~> expression <~ ")" ^^ { case exp => Average(exp) }
294294
| MIN ~ "(" ~> expression <~ ")" ^^ { case exp => Min(exp) }
295295
| MAX ~ "(" ~> expression <~ ")" ^^ { case exp => Max(exp) }
296-
| STDDEV ~"(" ~> expression <~ "(" ^^ {case exp => Stddev(exp)}
296+
| STDDEV ~"(" ~> expression <~ "(" ^^ {case exp => Stddev(exp)}
297297
| UPPER ~ "(" ~> expression <~ ")" ^^ { case exp => Upper(exp) }
298298
| LOWER ~ "(" ~> expression <~ ")" ^^ { case exp => Lower(exp) }
299299
| IF ~ "(" ~> expression ~ ("," ~> expression) ~ ("," ~> expression) <~ ")" ^^

0 commit comments

Comments
 (0)