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

    https://github.com/apache/spark/pull/3517#discussion_r21341182
  
    --- Diff: docs/sql-programming-guide.md ---
    @@ -621,7 +621,7 @@ val sqlContext = new org.apache.spark.sql.SQLContext(sc)
     
     // A JSON dataset is pointed to by path.
     // The path can be either a single text file or a directory storing text 
files.
    -val path = "examples/src/main/resources/people.json"
    +val path = "examples/src/main/resources/people.txt"
    --- End diff --
    
    We need to move the file too and update the other places that reference it:
    
    ```
    examples/src/main/java/org/apache/spark/examples/sql/JavaSparkSQL.java:    
String path = "examples/src/main/resources/people.json";
    examples/src/main/python/sql.py:    path = 
os.path.join(os.environ['SPARK_HOME'], 
"examples/src/main/resources/people.json")
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to