Skip to content

Commit cd184b3

Browse files
committed
[SPARK-16381] minor fix
1 parent af2365c commit cd184b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/src/main/r/RSparkSQLExample.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
library(SparkR)
1919

2020
# $example on:init_session$
21-
sparkR.session()
21+
sparkR.session(appName='MyApp', sparkConfig=list(spark.executor.memory="1g"))
2222
# $example off:init_session$
2323

2424

@@ -29,7 +29,7 @@ df <- read.json("examples/src/main/resources/people.json")
2929
head(df)
3030

3131
# Another method to print the first few rows and optionally truncate the printing of long values
32-
head(df)
32+
showDF(df)
3333
# $example off:create_DataFrames$
3434

3535

0 commit comments

Comments
 (0)