hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lefty Leverenz <leftylever...@gmail.com>
Subject Re: Need help with query
Date Mon, 12 Sep 2016 22:56:29 GMT
Here's a list of the wikidocs about dynamic partitions
<https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-DynamicPartitions>
.

-- Lefty


On Mon, Sep 12, 2016 at 3:25 PM, Devopam Mittra <devopam@gmail.com> wrote:

> Kindly learn dynamic partition from cwiki. That will be the perfect
> solution to your requirement in my opinion.
> Regards
> Dev
>
> On 13 Sep 2016 12:49 am, "Igor Kravzov" <igork.inexso@gmail.com> wrote:
>
>> Hi,
>>
>> I have a query like this one
>>
>> alter table my_table
>>   add if not exists partition (yyyymmdd=20160912) location
>> '/mylocation/20160912';
>>
>> Is it possible to make so I don't have to change date every day?
>> Something with  CURRENT_DATE;?
>>
>> Thanks in advance.
>>
>

Mime
View raw message