Skip to content

Commit

Permalink
Fixed deprecated procedure syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mox692 committed Aug 8, 2023
1 parent 74fa07c commit fc40bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ named `SimpleApp.scala`:
import org.apache.spark.sql.SparkSession

object SimpleApp {
def main(args: Array[String]) {
def main(args: Array[String]): Unit = {
val logFile = "YOUR_SPARK_HOME/README.md" // Should be some file on your system
val spark = SparkSession.builder.appName("Simple Application").getOrCreate()
val logData = spark.read.textFile(logFile).cache()
Expand Down

0 comments on commit fc40bd6

Please sign in to comment.