tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Azuryy Yu <azury...@gmail.com>
Subject Re: questions of table partition in Tajo
Date Fri, 13 Feb 2015 10:19:20 GMT
Hi Jaehwa & Hyunsik,

Gotta. Thanks a lot.


On Fri, Feb 13, 2015 at 12:39 PM, Hyunsik Choi <hyunsik@apache.org> wrote:

> 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 <azuryyyu@gmail.com> wrote:
> > Hi All,
> >
> > who can give me a simple answer, Thanks.
> >
> >
> > On Thu, Feb 12, 2015 at 12:25 PM, Azuryy Yu <azuryyyu@gmail.com> 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.
> >>
> >>
> >>
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message