phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anil gupta <anilgupt...@gmail.com>
Subject Re: Column comments
Date Sat, 19 Sep 2015 14:08:16 GMT
As per this doc https://phoenix.apache.org/language/#create_table. It
doesnt looks like its supported.
You can open a enhancement Jira for it. Feel free to provide to patch too.

On Sat, Sep 19, 2015 at 2:27 AM, Matjaž Trtnik <mt@salviol.com> wrote:

> Noone can help me with this or at least say it's not possible?
>
> ------------------------------
> *From:* Matjaž Trtnik
> *Sent:* Wednesday, September 16, 2015 11:32 AM
> *To:* user@phoenix.apache.org
> *Subject:* Column comments
>
> Hi!
>
> Is there a way to create table in Phoenix with column comments. Something
> like:
>
> CREATE TABLE IF NOT EXISTS us_population (
> 	state CHAR(2) NOT NULL <comment ’state code’>,
> 	city VARCHAR NOT NULL <comment 'city name'>,
> 	population BIGINT <comment 'population in millions>’
> CONSTRAINT my_pk PRIMARY KEY (state, city));
>
>
> If this is possible will I be able to read comments via ResultSetMetaData?
>
> Regards,
> Matjaž
>
>
>


-- 
Thanks & Regards,
Anil Gupta

Mime
View raw message