It works exactly like Create Table As Select (CTAS) in Hive. Cheng Hao
From: Anas Mosaad [mailto:[email protected]] Sent: Wednesday, December 10, 2014 11:59 AM To: Michael Armbrust Cc: Manoj Samel; [email protected] 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" <[email protected]<mailto:[email protected]>> 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 <[email protected]<mailto:[email protected]>> 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 ? Thanks
