RE: How do you access a cached Spark SQL Table from a JBDC connection?

2015-07-14 Thread Cheng, Hao
Can you describe how did you cache the tables? In another HiveContext? AFAIK, cached table only be visible within the same HiveContext, you probably need to execute the sql query like “cache table mytable as SELECT xxx” in the JDBC connection also. Cheng Hao From: Brandon White

RE: How do you access a cached Spark SQL Table from a JBDC connection?

2015-07-14 Thread Cheng, Hao
access a cached Spark SQL Table from a JBDC connection? I cache the tell with hiveContext.cacheTable(tableName) On Tue, Jul 14, 2015 at 5:43 PM, Cheng, Hao hao.ch...@intel.commailto:hao.ch...@intel.com wrote: Can you describe how did you cache the tables? In another HiveContext? AFAIK, cached