spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheng, Hao" <>
Subject RE: Can HiveContext be used without using Hive?
Date Wed, 10 Dec 2014 04:56:21 GMT
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" <<>>
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 <<>>
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 ?


View raw message