You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by dataware <da...@163.com> on 2015/06/23 09:34:14 UTC
What's column family name for columns of table created by phoniex
create table statement without a specific cf name?
Hi,
Can we use the HBase APIs to access the raw HBase tables?
Thanks.
Re: What's column family name for columns of table created by phoniex
create table statement without a specific cf name?
Posted by James Taylor <ja...@apache.org>.
To add to what Gabriel said, you can also specify your own default
column family name with the DEFAULT_COLUMN_FAMILY property when you
create your table:
https://phoenix.apache.org/language/index.html#create_table
On Tue, Jun 23, 2015 at 11:07 AM, Gabriel Reid <ga...@gmail.com> wrote:
> The default column family name is "0". This is the string containing the
> character representation of zero (or in other words, a single byte with
> value 48).
>
> And yes, it's possible to read Phoenix tables using the HBase API (although
> it's of course a lot easier if you go via Phoenix).
>
> - Gabriel
>
>
> On Tue, Jun 23, 2015 at 9:36 AM dataware <da...@163.com> wrote:
>>
>> Hi,
>>
>> Can we use the HBase APIs to access the raw HBase tables?
>>
>> Thanks.
>>
>>
>>
>>
>
Re: What's column family name for columns of table created by phoniex
create table statement without a specific cf name?
Posted by Gabriel Reid <ga...@gmail.com>.
The default column family name is "0". This is the string containing the
character representation of zero (or in other words, a single byte with
value 48).
And yes, it's possible to read Phoenix tables using the HBase API (although
it's of course a lot easier if you go via Phoenix).
- Gabriel
On Tue, Jun 23, 2015 at 9:36 AM dataware <da...@163.com> wrote:
> Hi,
>
> Can we use the HBase APIs to access the raw HBase tables?
>
> Thanks.
>
>
>
>
>