spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marmbrus <...@git.apache.org>
Subject [GitHub] spark pull request: [SQL] SPARK-1333 First draft of java API
Date Wed, 02 Apr 2014 23:08:28 GMT
Github user marmbrus commented on a diff in the pull request:

    https://github.com/apache/spark/pull/248#discussion_r11232864
  
    --- 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 --
    
    Haha, I guess I do.  Gross :P


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message