spark-instrumented-optimizer/sql/core/src/main
Tejas Patil 4210e2a6b7 [TRIVIAL] Add () to SparkSession's builder function
## What changes were proposed in this pull request?

Was trying out `SparkSession` for the first time and the given class doc (when copied as is) did not work over Spark shell:

```
scala> SparkSession.builder().master("local").appName("Word Count").getOrCreate()
<console>:27: error: org.apache.spark.sql.SparkSession.Builder does not take parameters
       SparkSession.builder().master("local").appName("Word Count").getOrCreate()
```

Adding () to the builder method in SparkSession.

## How was this patch tested?

```
scala> SparkSession.builder().master("local").appName("Word Count").getOrCreate()
res0: org.apache.spark.sql.SparkSession = org.apache.spark.sql.SparkSession65c17e38

scala> SparkSession.builder.master("local").appName("Word Count").getOrCreate()
res1: org.apache.spark.sql.SparkSession = org.apache.spark.sql.SparkSession65c17e38
```

Author: Tejas Patil <tejasp@fb.com>

Closes #13086 from tejasapatil/doc_correction.
2016-05-13 18:10:22 -07:00
..
java/org/apache/spark/sql [SPARK-14642][SQL] import org.apache.spark.sql.expressions._ breaks udf under functions 2016-05-10 12:32:56 -07:00
resources [SPARK-14476][SQL] Improve the physical plan visualization by adding meta info like table name and file path for data source. 2016-05-10 21:50:53 -07:00
scala/org/apache/spark/sql [TRIVIAL] Add () to SparkSession's builder function 2016-05-13 18:10:22 -07:00