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

    https://github.com/apache/spark/pull/363#discussion_r11554183
  
    --- Diff: docs/sql-programming-guide.md ---
    @@ -235,6 +287,27 @@ JavaSchemaRDD teenagers = sqlCtx.sql("SELECT name FROM 
parquetFile WHERE age >=
     
     </div>
     
    +<div data-lang="python"  markdown="1">
    +
    +{% highlight python %}
    +
    +peopleTable # The SchemaRDD from the previous example.
    +
    +# JavaSchemaRDDs can be saved as parquet files, maintaining the schema 
information.
    +peopleTable.saveAsParquetFile("people.parquet")
    +
    +# Read in the parquet file created above.  Parquet files are 
self-describing so the schema is preserved.
    +# The result of loading a parquet file is also a JavaSchemaRDD.
    --- End diff --
    
    Ditto here


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to