It works exactly like Create Table As Select (CTAS) in Hive.


Cheng Hao


From: Anas Mosaad []
Sent: Wednesday, December 10, 2014 11:59 AM
To: Michael Armbrust
Cc: Manoj Samel;
Subject: Re: Can HiveContext be used without using Hive?


In that case, what should be the behavior of saveTableAs?

On Dec 10, 2014 4:03 AM, "Michael Armbrust" <> wrote:

That is correct.  It the hive context will create an embedded metastore in the current directory if you have not configured hive.


On Tue, Dec 9, 2014 at 5:51 PM, Manoj Samel <> wrote:

From 1.1.1 documentation, it seems one can use HiveContext instead of SQLContext without having a Hive installation. The benefit is richer SQL dialect.


Is my understanding correct ?