cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <sylv...@datastax.com>
Subject Re: Missing non composite column
Date Wed, 17 Oct 2012 07:34:20 GMT
On Wed, Oct 17, 2012 at 3:17 AM, Vivek Mishra <mishra.vivs@gmail.com> wrote:
> column name will be "2012-07-24:2:alliance_involvement" or
> "alliance_involvement"?

The former. Though let's clarify that
"2012-07-24:2:alliance_involvement" is the string representation of a
composite name (i.e. one compatible with CompositeType) for display by
the cli. What you will get is a composite containing 3 components, the
first will be the string '2012-07-24', the second one will be the int
2 and the last one will be the string 'alliance_involvement'.

--
Sylvain

>
> -Vivek
>
> On Tue, Oct 16, 2012 at 10:25 PM, Sylvain Lebresne <sylvain@datastax.com>
> wrote:
>>
>> On Tue, Oct 16, 2012 at 12:31 PM, Vivek Mishra <mishra.vivs@gmail.com>
>> wrote:
>> > Thanks Sylvain. I missed it. If i try to access these via thrift API,
>> > what
>> > will be the column names?
>>
>> I'm not sure I understand the question. The cli output is pretty much
>> what you get via the thrift API.
>>
>> --
>> Sylvain
>
>

Mime
View raw message