Skip to content

Commit af05266

Browse files
committed
use var
1 parent b5a45aa commit af05266

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scala/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,11 @@ var bucketName = "myBucket"
164164
var objectname = "mydata.csv"
165165

166166
var cos = new CloudObjectStorage(sc, credentials)
167-
val spark = SparkSession.
167+
var spark = SparkSession.
168168
builder().
169169
getOrCreate()
170170

171-
val dfData1 = spark.
171+
var dfData1 = spark.
172172
read.format("org.apache.spark.sql.execution.datasources.csv.CSVFileFormat").
173173
option("header", "true").
174174
option("inferSchema", "true").

0 commit comments

Comments
 (0)