Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20458#discussion_r165178509
  
    --- Diff: docs/quick-start.md ---
    @@ -299,19 +299,17 @@ We'll create a very simple Spark application, 
`SimpleApp.java`:
     import org.apache.spark.sql.SparkSession;
     import org.apache.spark.sql.Dataset;
     
    -public class SimpleApp {
    -  public static void main(String[] args) {
    -    String logFile = "YOUR_SPARK_HOME/README.md"; // Should be some file 
on your system
    -    SparkSession spark = SparkSession.builder().appName("Simple 
Application").getOrCreate();
    -    Dataset<String> logData = spark.read().textFile(logFile).cache();
    +public class SimpleApp extends App {
    --- End diff --
    
    Yes, this isn't valid Java, and it's supposed to be Java. It was correct 
before.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to