-Re: export schema only
Rita 2012-03-13, 11:44
thanks. I will give it a try
On Tue, Mar 13, 2012 at 2:58 AM, Laxman <[EMAIL PROTECTED]> wrote:
> I guess you are looking for something similar to RBDMS (say, oracle) is
> If that is the case, Exporting table structure alone doesn’t make much
> in HBase case as HBase table can contain unstructured data.
> I mean, number of column qualifiers (Equivalent with Oracle columns) is not
> Otherwise, as Stack mentioned, you can use describe command output to
> recreate a table (manually).
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of
> > Stack
> > Sent: Tuesday, March 13, 2012 8:53 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: export schema only
> > On Mon, Mar 12, 2012 at 5:28 PM, Rita <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > Is it possible to export table schema only versus exporting the
> > entire
> > > table? I need this so I can create a separate table for QA purposes.
> > >
> > In shell, if you do 'describe TABLENAME', the output can be used
> > create the table IIRC.
> > Let us know if it doesn't work.
> > St.Ack
--- Get your facts first, then you can distort them as you please.--