On Sun, Mar 29, 2015 at 6:59 AM Vincent He vincent.he.andr...@gmail.com
wrote:
No luck, it does not work, anyone know whether there some special setting
for spark-sql cli so we do not need to write code to use spark sql? Anyone
have some simple example on this? appreciate any help. thanks
@gmail.com wrote:
I mean JavaSparkContext has a field name sc, whose type is
SparkContext. You may pass this sc to HiveContext.
On 3/29/15 9:59 PM, Vincent He wrote:
thanks .
It does not work, and can not pass compile as HiveContext constructor does
not accept JaveSparkContext
https://databricks.com/blog/2015/03/24/spark-sql-graduates-from-alpha-in-spark-1-3.html
I haven't tried the SQL statements in above blog myself.
Cheers
On Sat, Mar 28, 2015 at 5:39 AM, Vincent He vincent.he.andr...@gmail.com
wrote:
thanks for your information . I have read it, I can run
:
You may simply pass in JavaSparkContext.sc
On 3/29/15 9:25 PM, Vincent He wrote:
All,
I try Spark SQL with Java, I find HiveContext does not accept
JavaSparkContext, is this true? Or any special build of Spark I need to do
(I build with Hive and thrift server)? Can we use HiveContext
All,
I try Spark SQL with Java, I find HiveContext does not accept
JavaSparkContext, is this true? Or any special build of Spark I need to do
(I build with Hive and thrift server)? Can we use HiveContext in Java?
thanks in advance.
I am learning spark sql and try spark-sql example, I running following
code, but I got exception ERROR CliDriver:
org.apache.spark.sql.AnalysisException: cannot recognize input near
'CREATE' 'TEMPORARY' 'TABLE' in ddl statement; line 1 pos 17, I have two
questions,
1. Do we have a list of the
I am learning spark sql and try spark-sql example, I running following
code, but I got exception ERROR CliDriver:
org.apache.spark.sql.AnalysisException: cannot recognize input near
'CREATE' 'TEMPORARY' 'TABLE' in ddl statement; line 1 pos 17, I have two
questions,
1. Do we have a list of the
...@gmail.com wrote:
Please take a look at
https://spark.apache.org/docs/latest/sql-programming-guide.html
Cheers
On Mar 28, 2015, at 5:08 AM, Vincent He vincent.he.andr...@gmail.com
wrote:
I am learning spark sql and try spark-sql example, I running following
code, but I got