Re: May I ask a question about SparkSql

2016-04-08 Thread Mich Talebzadeh
Hi Jackie,

Can you create a DF from RDD and register it as temp table? This should
work. Although I have not tried it.

HTH

Dr Mich Talebzadeh



LinkedIn * 
https://www.linkedin.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw
*



http://talebzadehmich.wordpress.com



On 8 April 2016 at 09:28, Hustjackie  wrote:

> Hi all,
>
>
>
> I have several jobs running with Spark-Streaming, but I prefer to run some
> sql to do the same things.
>
> So does the SparkSql support real-time jobs, in another words, Do spark
> support spark streaming SQL.
>
>
> Thanks in advance, any help are appreciate.
>
>
>
> Jacky
>


Re: May I ask a question about SparkSql

2016-04-08 Thread Kasinathan, Prabhu
Check this one. https://github.com/Intel-bigdata/spark-streamingsql. We tried 
it and it was working with Spark 1.3.1. You can do ETL on Spark Streaming 
Context using Spark Sql.

Thanks
Prabhu

From: Hustjackie >
Reply-To: "hustjac...@sina.cn" 
>
Date: Friday, April 8, 2016 at 1:58 PM
To: user >
Subject: May I ask a question about SparkSql


Hi all,



I have several jobs running with Spark-Streaming, but I prefer to run some sql 
to do the same things.

So does the SparkSql support real-time jobs, in another words, Do spark support 
spark streaming SQL.


Thanks in advance, any help are appreciate.



Jacky