Is there a way to view composite column names in the CLI?
Is there a way to input them (i.e. in the set command)?
What do you mean by composite column names?
Do the data type functions supported by get and set help? Or the assume
statement?
Aaron
On 17/05/2011, at 3:21 AM, David Boxenhorn wrote:
> Is there a way to view composite column names in the CLI?
>
> Is there a way to input them (i.e. in the set
Cassandra wouldn't know that the column name is composite of two different
things. So you could just request the column names and values for a specific
key like this and then just look at the column names that get returned:
[default@MyKeyspace] get DemoCF[ascii('key_42')];
=> (column=CA_SanJose, v
This is what I'm talking about
https://issues.apache.org/jira/browse/CASSANDRA-2231
The on-disk format is
<(short)length><(short)length>...
I would like to be able to input these kinds of keys into the CLI, something
like
set cf[key]['constituent1':'constituent2':'constituent3'] = val
On Tue
Provided you're working on a branch that has CASSANDRA-2231 applied (that's
either the cassandra-0.8.1 branch or trunk), this work 'out of the box':
The setup will look like:
[default@unknown] create keyspace test;
[default@unknown] use test;
[default@test] create column family testCF with
compara
Excellent!
(I presume there is some way of representing ":", like "\:"?)
On Tue, May 17, 2011 at 11:44 AM, Sylvain Lebresne wrote:
> Provided you're working on a branch that has CASSANDRA-2231 applied (that's
> either the cassandra-0.8.1 branch or trunk), this work 'out of the box':
>
> The set
> (I presume there is some way of representing ":", like "\:"?)
Well no, not yet, but we'll try to figure something I guess (we'll have the
problem with CASSANDRA-2474 I think so we'll probably use the same
solution).
But let's keep in mind this is unreleased code at this point. And let me
also a