incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Issue Upgrade to 1.2.2 from 1.2.1 Table column names changed
Date Tue, 12 Mar 2013 17:45:11 GMT
You should use ALTER TABLE to give the columns meaningful names.  The
autogenerated names are there as a convenience, and we do not
guarantee that they won't change between releases.

On Tue, Mar 12, 2013 at 12:41 PM, Haithem Jarraya
<haithem.jarraya@struq.com> wrote:
> Hi there,
>
>
>
> I am seeing an issue that I do not understand fully,
>
> I have a table A with columns a1 blob,a2 int ,a3 int, a4 uuid.
>
> I upgraded from 1.2.1 to 1.2.2 and also changed the compaction level to
> LeveledCompaction.
>
> Then I found that 2 of the 4 columns in my tables changed names.
>
> It is now Table A (a1 blob, column1 int, column2 int, a4 uuid)
>
> Nothing in the logs, when I do describe table A; I get column1 and column2.
>
> How this is possible?
>
> Also how to change my columns names to the previous names? All my prepared
> queries are failing now.
>
>
>
> Many Thanks,
>
>
>
> Haithem
>
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder, http://www.datastax.com
@spyced

Mime
View raw message