Hi Azuryy,

Unfortunately, the current Tajo does not support ALTER ADD PARTITION
statement. So, you need to rename the directory to follow the
partition directory rule.

But, 'ALTER ADD PARTITION' support issue is already working. You can
track the progress of 'ALTER ADD PARTITION' implementation at
https://issues.apache.org/jira/browse/TAJO-744. This feature is
scheduled in the next release.

I hope that my answer is helpful to you.

Best regards,
Hyunsik

On Thu, Feb 12, 2015 at 7:33 PM, Azuryy Yu <[email protected]> wrote:
> Hi All,
>
> who can give me a simple answer, Thanks.
>
>
> On Thu, Feb 12, 2015 at 12:25 PM, Azuryy Yu <[email protected]> wrote:
>
>> Hi,
>>
>> How can I add partiton to a table if it was partitoned during creat.
>>
>> such as:
>>
>> create external table test (id text, name text) PARTITION BY COLUMN (dt
>> text, phone text, gender text) USING RCFILE LOCATION '/data/hadoop/test';
>>
>> My data on HDFS was:
>> /data/hadoop/test/20150201/1300/m
>> /data/hadoop/test/20150201/1300/f
>> /data/hadoop/test/20150202/1500/m
>> /data/hadoop/test/20150202/1500/f
>>
>> so how can I add partitions to this table? I cannot find the answer on the
>> Wiki.
>>
>>
>> Thanks.
>>
>>
>>
>>

Reply via email to