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

    https://github.com/apache/spark/pull/248#discussion_r11230945
  
    --- Diff: docs/sql-programming-guide.md ---
    @@ -34,8 +54,30 @@ val sqlContext = new org.apache.spark.sql.SQLContext(sc)
     import sqlContext._
     {% endhighlight %}
     
    +</div>
    +
    +<div data-lang="java"  markdown="1">
    +
    +The entry point into all relational functionality in Spark is the
    
+[JavaSQLContext](api/sql/core/index.html#org.apache.spark.sql.api.java.JavaSQLContext)
 class, or one
    +of its decendents.  To create a basic JavaSQLContext, all you need is a 
JavaSparkContext.
    +
    +{% highlight java %}
    +JavaSparkContext ctx // An existing JavaSparkContext.
    +JavaSQLContext sqlCtx = new 
org.apache.spark.sql.api.java.JavaSQLContext(ctx)
    --- End diff --
    
    Syntax error, needs semicolons :)


---
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