Spark sql using spark thrift server

I want to access tables registered in spark using JDBC kind of service, using the thrift service provided by spark.

I didn't got any documentation for this on google, can anyone please tell me how to use thrift server to access spark tables.

and what will be the lifetime of these table in memory, will these table resides in memory till thrift server is running.

Answers


The Thrift server documentation is located in the Spark SQL reference page under Distributed SQL Engine (http://spark.apache.org/docs/latest/sql-programming-guide.html#distributed-sql-engine).

If you cache a query the cached result will stay in memory until the Thrift server is stopped.


Need Your Help

Special Characters in WCF REST ATOM Feed

wcf rest

I have a WCF ATOM Feed Service using the WCF REST Toolkit with the following UriTemplate

how to set character to big size without press capslock

php jquery mysql

dear all..i want my input form automatically make all character become big size..