Re: Where Can I find the full documentation for Spark SQL?

2014-06-26 Thread Michael Armbrust
The programming guide is part of the standard documentation:
http://spark.apache.org/docs/latest/sql-programming-guide.html

Regarding specifics about SQL syntax and functions, I'd recommend using a
HiveContext and the HQL method currently, as that is much more complete
than the basic SQL parser provided by SQLContex (there are plans to improve
this to be closer to SQL-92 in the future).

If you use HQL you can just refer to Hive 0.12.0's documentation as we use
their parser and have wrappers for all the functions.


On Thu, Jun 26, 2014 at 7:34 AM, Gianluca Privitera 
gianluca.privite...@studio.unibo.it wrote:

  Not that I know of, they will probably add more with next version since
 Spark SQL is getting a lot of attention.

  Gianluca

  On 26 Jun 2014, at 00:10, guxiaobo1982 guxiaobo1...@qq.com wrote:

  the  api only says this :

  public JavaSchemaRDD 
 http://spark.apache.org/docs/latest/api/java/org/apache/spark/sql/api/java/JavaSchemaRDD.html
  sql(String sqlQuery)

  Executes a query expressed in SQL, returning the result as a JavaSchemaRDD


  but what kind of sqlQuery we can execute, is there any more
 documentation?

  Xiaobo Gu


  -- Original --
  *From: * Gianluca Privitera;gianluca.privite...@studio.unibo.it;
 *Date: * Jun 26, 2014
 *To: * user@spark.apache.orguser@spark.apache.org;
  *Subject: * Re: Where Can I find the full documentation for Spark SQL?

  You can find something in the API, nothing more than that I think for now.

 Gianluca

 On 25 Jun 2014, at 23:36, guxiaobo1982 guxiaobo1...@qq.com wrote:

  Hi,
 
  I want to know the full list of functions, syntax, features that Spark
 SQL supports, is there some documentations.
 
 
  Regards,
 
  Xiaobo Gu

 .





Re: Where Can I find the full documentation for Spark SQL?

2014-06-25 Thread Gianluca Privitera
You can find something in the API, nothing more than that I think for now.

Gianluca 

On 25 Jun 2014, at 23:36, guxiaobo1982 guxiaobo1...@qq.com wrote:

 Hi,
 
 I want to know the full list of functions, syntax, features that Spark SQL 
 supports, is there some documentations.
 
 
 Regards,
 
 Xiaobo Gu



Re: Where Can I find the full documentation for Spark SQL?

2014-06-25 Thread guxiaobo1982
the  api only says this :


public JavaSchemaRDD sql(String sqlQuery)Executes a query expressed in SQL, 
returning the result as a JavaSchemaRDD





but what kind of sqlQuery we can execute, is there any more documentation?


Xiaobo Gu




-- Original --
From:  Gianluca Privitera;gianluca.privite...@studio.unibo.it;
Date:  Jun 26, 2014
To:  user@spark.apache.orguser@spark.apache.org; 

Subject:  Re: Where Can I find the full documentation for Spark SQL?



You can find something in the API, nothing more than that I think for now.

Gianluca 

On 25 Jun 2014, at 23:36, guxiaobo1982 guxiaobo1...@qq.com wrote:

 Hi,
 
 I want to know the full list of functions, syntax, features that Spark SQL 
 supports, is there some documentations.
 
 
 Regards,
 
 Xiaobo Gu

.