On Wed, Mar 30, 2016 at 8:08 AM, Jean Carlo <jean.jeancar...@gmail.com> wrote: > With double quotes it doesn't show error > > CREATE TABLE table1 ( bill_id text, "full" text, name text, > provider_date timestamp, total text, PRIMARY KEY ( bill_id) ) ; > > but it changes the name of the column
I don't think it does though; You're meant to be able to use the output of DESC TABLE to (re)create these tables, so it's quoted below for the same reason you did so above. Obviously it would be better to have column names that parse without needing to be double quoted, but it should work. Have you tried some reads and writes? > desc table table1; > > CREATE TABLE pns_fr_2_jean.table1 ( > bill_id text PRIMARY KEY, > "full" text, > name text, > provider_date timestamp, > total text > ) > > instead of > > CREATE TABLE pns_fr_2_jean.table1 ( > bill_id text PRIMARY KEY, > full text, > name text, > provider_date timestamp, > total text > ) -- Eric Evans eev...@wikimedia.org