srowen commented on a change in pull request #26498: [SPARK-29872] Improper
cache strategy in examples
URL: https://github.com/apache/spark/pull/26498#discussion_r345758383
##########
File path:
examples/src/main/scala/org/apache/spark/examples/sql/SparkSQLExample.scala
##########
@@ -198,6 +198,7 @@ object SparkSQLExample {
.textFile("examples/src/main/resources/people.txt")
.map(_.split(","))
.map(attributes => Person(attributes(0), attributes(1).trim.toInt))
+ .cache()
Review comment:
This one isn't important enough to bother with, I think. The data is small
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]