Re: Running Spark SQL on Spark Thrift Server with Ignite

2017-08-14 Thread vkulichenko
Ravi, You can take a look at these pages: https://apacheignite-fs.readme.io/docs/ignitecontext-igniterdd https://apacheignite-fs.readme.io/docs/testing-integration-with-spark-shell -Val -- View this message in context:

Re: Running Spark SQL on Spark Thrift Server with Ignite

2017-08-12 Thread ravi
Hi Val, Thanks for the reply. Can you share some example or sample code snippet for the steps you have explained?. The link you have shared doesn't explain mapping Hive/Spar RDD to Ignite RDD context? Regards Ravi.P -- View this message in context:

Re: Running Spark SQL on Spark Thrift Server with Ignite

2017-08-10 Thread vkulichenko
Ravi, If you need to speed up SQL, you should make sure Ignite uses indexes to execute queries. I think you can do the following: - Create Hive RDD and map it to RDD of key value pairs. - Create new IgniteRDD on top of a cache and use IgniteRDD#savePairs method to load data from Hive to Ignite. -

Re: Running Spark SQL on Spark Thrift Server with Ignite

2017-08-09 Thread vkulichenko
Hi Ravi, I don't think it currently will, because this will require integration with data frames. We have it plans, but it is not implemented yet. I think you should use IgniteRDD or Ignite APIs directly. Can you describe business use case you're trying to implement? -Val -- View this