I believe there is support for primary key which is basically UNIQUE NOT
NULL constraint.

Ravi,
what is the error you are getting?

On Tue, Jun 2, 2015 at 2:20 PM, Edward Capriolo <[email protected]>
wrote:

> Hive does not support primary key or other types of index constraints.
>
> On Tue, Jun 2, 2015 at 4:37 AM, Ravisankar Mani <
> [email protected]> wrote:
>
>>  Hi everyone,
>>
>>
>>
>> I am unable to create an table in hive with primary key
>>
>> Example :
>>
>>
>>
>> create table Hivetable((name string),primary key(name));
>>
>>
>>
>> Could please help about the primary key query?
>>
>>
>>
>> Regards,
>>
>>
>>
>> Ravisankar M R
>>
>
>

Reply via email to