Re: Want inputs about super column family vs map/list

2016-02-04 Thread Robert Coli
On Thu, Feb 4, 2016 at 2:37 AM, Bhuvan Rawal wrote: > 1. Using super column family: > Super columns have been not-recommended for use for about five years now. =Rob

Re: Want inputs about super column family vs map/list

2016-02-04 Thread Atul Saroha
wrote: > Hi All, > > There are two ways to achieve this : > 1. Using super column family: > > raman | atul | bhuvan > --- > 1234 | 5678 | 2345 > > OR > Using single Collection column : > Phone Number > --- > Map

Want inputs about super column family vs map/list

2016-02-04 Thread Bhuvan Rawal
Hi All, There are two ways to achieve this : 1. Using super column family: raman | atul | bhuvan --- 1234 | 5678 | 2345 OR Using single Collection column : Phone Number --- Map I would like to know which approach would be better in the below

Re: Select X amount of column families in a super column family in Cassandra using PHP?

2013-03-03 Thread aaron morton
I'm trying to select the first x amount of column families within the super > column family, however, I'm having absolutely no luck, and google searches > don't seem to bring up much. > > I'm using Random Partitioning, and don't particularly wish to chan

Re: help required to resolve super column family problems

2012-08-26 Thread Aaron Turner
On Sun, Aug 26, 2012 at 9:28 PM, Amit Handa wrote: > Hi, > > i basically want to do hands-on on Super Column family concept, making some > examples using hector api, and manually adding the data. > I explored hector-example project, but only got very starting level of super

Re: help required to resolve super column family problems

2012-08-26 Thread Amit Handa
Hi, i basically want to do hands-on on Super Column family concept, making some examples using hector api, and manually adding the data. I explored hector-example project, but only got very starting level of super column family example. i am in search of more super column family examples using

Re: help required to resolve super column family problems

2012-08-24 Thread Mohit Anchlia
to super > column > > family. > > i am using cassandra version 1.1.3 > > Well, THERE's your problem... ;D > > But seriously.. as I understand project intent, super columns will > ultimately be a weird API wrapper around composite keys. Also, super > column famil

Re: help required to resolve super column family problems

2012-08-24 Thread Rob Coli
On Fri, Aug 24, 2012 at 4:33 AM, Amit Handa wrote: > kindly help in resolving the following problem with respect to super column > family. > i am using cassandra version 1.1.3 Well, THERE's your problem... ;D But seriously.. as I understand project intent, super columns will u

Re: help required to resolve super column family problems

2012-08-24 Thread Guillermo Winkler
userid:USER-1 } } That is: - Column family = UserMovies - Row Key = user1 - Column name = userid - Column value = USER-1 As you see you have the super column missing in your update sentence. Given this example > USER-1(userid) -- MOVIEABCD (movie) -- 9 (rating) > I think you d

help required to resolve super column family problems

2012-08-24 Thread Amit Handa
hi, kindly help in resolving the following problem with respect to super column family. i am using cassandra version 1.1.3 i created two super families namely "UserMovies" and "movieSimilarity" in cassandra using cassandra-cli: *create column family movieSimilarity with colum

Re: super column

2012-04-12 Thread Maki Watanabe
http://www.datastax.com/dev/blog/introduction-to-composite-columns-part-1 hope this help. maki 2012/4/12 puneet loya : > what is composite columns? > > super column under it can contain just multiple columns.. will composite > columns be useful? > > > On Thu, Apr 12, 2

Re: super column

2012-04-12 Thread puneet loya
what is composite columns? super column under it can contain just multiple columns.. will composite columns be useful? On Thu, Apr 12, 2012 at 3:50 PM, Paolo Bernardi wrote: > No. > Maybe that a super column can contain composite columns but I'm not sure. > > Paolo > On A

Re: super column

2012-04-12 Thread Paolo Bernardi
No. Maybe that a super column can contain composite columns but I'm not sure. Paolo On Apr 12, 2012 12:15 PM, "puneet loya" wrote: > Can a super column contain a super column? > > I mean is nesting of supercolumns possible? > > Regards, > > Puneet :) >

super column

2012-04-12 Thread puneet loya
Can a super column contain a super column? I mean is nesting of supercolumns possible? Regards, Puneet :)

Re: json2sstable error: Can not write to the Standard columns Super Column Family

2012-04-11 Thread aaron morton
/04/2012, at 2:22 AM, Aliou SOW wrote: > Dear All, > > I am new to Cassandra 1.0.8, and I use the tool json2sstable for bulk insert, > but I still have the error: > > java.lang.RuntimeException: Can not write to the Standard columns Super > Column F

json2sstable error: Can not write to the Standard columns Super Column Family

2012-04-10 Thread Aliou SOW
Dear All, I am new to Cassandra 1.0.8, and I use the tool json2sstable for bulk insert, but I still have the error: java.lang.RuntimeException: Can not write to the Standard columns Super Column Family. Has org.apache.cassandra.tools.SSTableImport.importSorted

json2sstable error: Can not write to the Standard columns Super Column Family

2012-04-10 Thread Aliou SOW
Dear All, I am new to Cassandra 1.0.8, and I use the tool json2sstable for bulk insert, but I still have the error:

Re: Writing Data To A Super Column That Is In A Column Family With A Type Of Standard

2012-03-05 Thread aaron morton
> Is it possible to mix both Standard and Super columns in the same > Column Family? No. > create column family users >with comparator = UTF8T >and key_validation_class=UTF8TYpe >and compression_options = { sstable_compression:SnappyCompressor, > chunk_length_kb:64} >and column_m

Writing Data To A Super Column That Is In A Column Family With A Type Of Standard

2012-03-04 Thread Christopher Bowland
Is it possible to mix both Standard and Super columns in the same Column Family? One of our Perl developers seems to have this working, but I have been using the Java Pelops client and have been unable to make this happen. I'm not asking how to do with Pelops as I'll bug those guys if it is possib

Re: Beginner Question - Super Column Family Alternative

2012-01-07 Thread aaron morton
>> I am not sure if this is the right place to ask such question. It is. >> I read that it is not safe to use Super Column Family. They are safe to use, but it's good to avoid them if you can. >> <>Manager_Employee >> <>#managerID:employeeID >>

Re: Beginner Question - Super Column Family Alternative

2012-01-06 Thread investtr
On 01/06/2012 01:48 PM, investtr wrote: Please help me understand this. I am not sure if this is the right place to ask such question. I read that it is not safe to use Super Column Family. And the alternative, I found was to use Composite Column Names. Many managers will have many employees

Beginner Question - Super Column Family Alternative

2012-01-06 Thread investtr
Please help me understand this. I am not sure if this is the right place to ask such question. I read that it is not safe to use Super Column Family. And the alternative, I found was to use Composite Column Names. Many managers will have many employees. *<>Manager_Employee <&g

Re: Physical data layout of columns in super column family

2011-11-09 Thread Denis Gabaydulin
erver). Single command is for each row key. To be fully understood, my question was about retrieving all super columns data of single row key(single read command). On Wed, Nov 9, 2011 at 21:04, Konstantin Naryshkin wrote: > I assume that Reports is the Super column family, the first 1: is the >

Re: Physical data layout of columns in super column family

2011-11-09 Thread Konstantin Naryshkin
I assume that Reports is the Super column family, the first 1: is the report id and in the topology is the row key, that the second 1: is the report line and in the Cassandra topology the super column, and that "value 1" is the column name. If this is not the case, maybe explain th

Physical data layout of columns in super column family

2011-11-09 Thread Denis Gabaydulin
Hi, first of all, let me say thank you for the the amazing product :-) So, I have a couple of questions about internal physical data layout. Suppose, I have the following data schema: Reports:{ 1:{ 1:{"value1":"some val", "value2":"some val"}, 2:{"value1":"some val", "value2":

Re: Problem SliceByNamesReadCommand on super column family after flush operation

2011-11-02 Thread Mike Smith
ng normal columns? > > On Tue, Nov 1, 2011 at 7:06 PM, Mike Smith wrote: > > Hi, > > I'm having a problem with doing a multiget_slice on a super column family > > after its first flush. Updates to the column values work properly, but > > trying to retrieve the upd

Re: Problem SliceByNamesReadCommand on super column family after flush operation

2011-11-01 Thread Jonathan Ellis
Can you file a Jira ticket? And, can you reproduce using normal columns? On Tue, Nov 1, 2011 at 7:06 PM, Mike Smith wrote: > Hi, > I'm having a problem with doing a multiget_slice on a super column family > after its first flush. Updates to the column values work properly, b

Problem SliceByNamesReadCommand on super column family after flush operation

2011-11-01 Thread Mike Smith
Hi, I'm having a problem with doing a multiget_slice on a super column family after its first flush. Updates to the column values work properly, but trying to retrieve the updated values using a multiget_slice operation fail to get the updated values. Instead they return the values from b

Re: create super column family for

2011-10-02 Thread aaron morton
Which version are you using? In my memory 0.8.3 cannot do it correctly but > later versions fixed the bug. > > 從我的 BlackBerry® 無線裝置 > > From: Ramesh S > Date: Thu, 29 Sep 2011 15:23:29 -0500 > To: > ReplyTo: user@cassandra.apache.org > Subject: create super column fam

Re: create super column family for

2011-09-30 Thread Ramesh S
29 Sep 2011 15:23:29 -0500 > *To: * > *ReplyTo: * user@cassandra.apache.org > *Subject: *create super column family for > > I am trying to create a super column family using Cli command. > But I am not getting it. > > The structure is > > <>ProductCategory &g

Re: create super column family for

2011-09-29 Thread Yi Yang
Which version are you using? In my memory 0.8.3 cannot do it correctly but later versions fixed the bug. 從我的 BlackBerry® 無線裝置 -Original Message- From: Ramesh S Date: Thu, 29 Sep 2011 15:23:29 To: Reply-To: user@cassandra.apache.org Subject: create super column family for I am

Re: create super column family for

2011-09-29 Thread Ramesh S
tion_class: UTF8Type} {column_name: lenght, validation_class: UTF8Type} {column_name: width, validation_class: UTF8Type} ]; regards, Ramesh On Thu, Sep 29, 2011 at 3:23 PM, Ramesh S wrote: > I am trying to create a super column family using Cli command. > But I am not getting it. >

create super column family for

2011-09-29 Thread Ramesh S
I am trying to create a super column family using Cli command. But I am not getting it. The structure is <>ProductCategory <>#ProductType <>#productCatId +subProdName +lenght +width I tried a lot many ways but I can't find the right way to get this done. Something

Re: Search over composite Column and Super Column name

2011-09-22 Thread Konstantin Naryshkin
t; . This works because ; is the character right after : in ASCII. I believe that UNICODE is ordered similarly to ASCII, though I am not 100% sure on that issue. - Original Message - From: "Renato Costa" To: user@cassandra.apache.org Sent: Thursday, September 22, 2011 6:35

Search over composite Column and Super Column name

2011-09-22 Thread Renato Costa
Hi, I started do modeling my application over cassandra data model. I will have to use composite Super columns name, i.e. "username:userid", i know that is a lot of different ways to deal with this case, but once i have modeled with composite Super Columns name is there any way to make a sarch ove

Re: Cassandra adding 500K + Super Column Family

2011-08-16 Thread Yi Yang
to create 500,000 Super Column Families or 500,000 rows in a > single Super Column Family ? > > The former is a somewhat crazy. Cassandra schemas typically have up to a few > tens of Column Families. Each column family involves a certain amount of > memory overhead, this is now autom

Re: Cassandra adding 500K + Super Column Family

2011-08-16 Thread aaron morton
Are you planning to create 500,000 Super Column Families or 500,000 rows in a single Super Column Family ? The former is a somewhat crazy. Cassandra schemas typically have up to a few tens of Column Families. Each column family involves a certain amount of memory overhead, this is now

Cassandra adding 500K + Super Column Family

2011-08-16 Thread Renato Bacelar da Silveira
I am wondering about a certain volume situation. I currently load a Keyspace with a certain amount of SCFs. Each SCF (Super Column Family) represents an entity. Each Entity may have up to 6000 values. I am planning to have 500,000 Entities (SCF) with 6000 Columns (within Super Columns

Re: Cassandra 0.8.1: request for a sub-column still deserializes all sub-columns for that super column?

2011-07-21 Thread aaron morton
hat: > > Any request for a sub-column deserializes all sub-columns for that super > column, so you should avoid data models that rely on on large numbers of > sub-columns. > > Is this still true? > > Thank you, > Oleg >

Cassandra 0.8.1: request for a sub-column still deserializes all sub-columns for that super column?

2011-07-21 Thread Oleg Tsvinev
Hi All, Cassandra documentation here: http://www.datastax.com/docs/0.8/data_model/supercolumns states that: Any request for a sub-column deserializes all sub-columns for that super column, so you should avoid data models that rely on on large numbers of sub-columns. Is this still true? Thank

Re: insert a super column

2011-07-13 Thread Konstantin Naryshkin
A ColumnPath can contain a super column, so you should be fine inserting a super column family (in fact I do that). Quoting cassandra.thrift: struct ColumnPath { 3: required string column_family, 4: optional binary super_column, 5: optional binary column, } - Original Message

Re: insert a super column

2011-07-13 Thread yulinyen
For batch_insert, I think you could use batch_mutate instead. For multi_get, I think you could use multiget_slice instead. Boris 在 ,魏金仙 寫道: insert(key, column_path, column, consistency_level) can only insert a standard column.Is batch_mutate the only API to insert a super column? and also

insert a super column

2011-07-13 Thread 魏金仙
insert(key, column_path, column, consistency_level) can only insert a standard column. Is batch_mutate the only API to insert a super column? and also can someone tell why batch_insert,multi_get is removed in version 0.7.4?

Secondry Index over Super Column

2011-07-12 Thread Vivek Mishra
Recently we released Kundera-2.0.1 One feature which is included in this release is Secondary index support over Super Column. I have tried to compile a blog post for the same, which can be found for a reference at: http://mevivs.wordpress.com/2011/07/12/cassandra-play-kundera-orm/ -Vivek

Re: CQL v1.0.0: why super column family not descirbed in it?

2011-05-05 Thread Victor Kabdebon
Thank you, I will look into that and I will probably wait until there is an "out of the box" comparator. But it's an excellent new feature ! Regards, Victor K. 2011/5/5 Eric Evans > On Thu, 2011-05-05 at 10:49 -0400, Victor Kabdebon wrote: > > Hello Eric, > > > > Compound columns seem to be a v

Re: CQL v1.0.0: why super column family not descirbed in it?

2011-05-05 Thread Eric Evans
On Thu, 2011-05-05 at 10:49 -0400, Victor Kabdebon wrote: > Hello Eric, > > Compound columns seem to be a very interesting feature. Do you have any idea > in which Cassandra version it is going to be introduced : 0.8.X or 0.9.X ? You can use these today with a custom comparator[1]. There is an o

Re: CQL v1.0.0: why super column family not descirbed in it?

2011-05-05 Thread Victor Kabdebon
document. There are operations about column > > families, but it does not describe how to operate on super column > > families. Why? Does this mean that super column families would not be > > supported by CQL in this version? Will it be supported in the future? > > No CQL will

Re: CQL v1.0.0: why super column family not descirbed in it?

2011-05-05 Thread Eric Evans
On Thu, 2011-05-05 at 18:19 +0800, Guofeng Zhang wrote: > I read the CQL v1.0 document. There are operations about column > families, but it does not describe how to operate on super column > families. Why? Does this mean that super column families would not be > supported by CQL in

CQL v1.0.0: why super column family not descirbed in it?

2011-05-05 Thread Guofeng Zhang
Hi, I read the CQL v1.0 document. There are operations about column families, but it does not describe how to operate on super column families. Why? Does this mean that super column families would not be supported by CQL in this version? Will it be supported in the future? Thanks. Guofeng

Re: Two column families or One super column family?

2011-03-31 Thread Edward Capriolo
; Good afternoon, >> >> I'm making my data model from scratch for cassandra, this means i can tune >> and fine tune it for performance. >> >> At this time i'm having problems choosing between a 2 column families or 1 >> super column family. I will il

Re: Two column families or One super column family?

2011-03-31 Thread T Akhayo
> uuid1.text and uuid2.text > > Hope that helps. > Aaron > > On 30 Mar 2011, at 01:05, T Akhayo wrote: > > Good afternoon, > > I'm making my data model from scratch for cassandra, this means i can tune > and fine tune it for performance. > > At this time

Re: Two column families or One super column family?

2011-03-29 Thread aaron morton
ans i can tune > and fine tune it for performance. > > At this time i'm having problems choosing between a 2 column families or 1 > super column family. I will illustrate with a example. > > Sector, this defines a place, this is one or two properties. > Entry, a entry t

Two column families or One super column family?

2011-03-29 Thread T Akhayo
Good afternoon, I'm making my data model from scratch for cassandra, this means i can tune and fine tune it for performance. At this time i'm having problems choosing between a 2 column families or 1 super column family. I will illustrate with a example. Sector, this defines a plac

Can I count on Super Column Families why planing 3 years out?

2011-02-23 Thread buddhasystem
bator-apache-org.3065146.n2.nabble.com/Can-I-count-on-Super-Column-Families-why-planing-3-years-out-tp6057997p6057997.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com.

Re: Is it recommended to store two types of data (not related to each other but need to be retrieved together) in one super column family ?

2011-01-29 Thread William R Speirs
I'm very new to Cassandra, but I'll pitch in my $0.02. Row look-ups are super fast, why do you think it would be more efficient to store these two rows "together" in the super column method you describe? Why would you not just look-up the rows, one after the other? If I

Re: Is it recommended to store two types of data (not related to each other but need to be retrieved together) in one super column family ?

2011-01-29 Thread Jonathan Ellis
t that the queries you do less often will be slower," depending on your workload (e.g. ratio of reads to writes). On Fri, Jan 28, 2011 at 12:20 PM, Ertio Lew wrote: > Hi, > > I have two kinds of data that I would like to fit in one super column > family; I am trying this, for t

Re: Is it recommended to store two types of data (not related to each other but need to be retrieved together) in one super column family ?

2011-01-29 Thread Ertio Lew
Could someone please point me in right direction by commenting on the above ideas ? On Fri, Jan 28, 2011 at 11:50 PM, Ertio Lew wrote: > Hi, > > I have two kinds of data that I would like to fit in one super column > family; I am trying this, for the reasons of implementing fas

Is it recommended to store two types of data (not related to each other but need to be retrieved together) in one super column family ?

2011-01-28 Thread Ertio Lew
Hi, I have two kinds of data that I would like to fit in one super column family; I am trying this, for the reasons of implementing fast database retrievals by combining the data of two rows into just one row. First kind of data, in supercolumn family, is named with timeUUIDs as supercolumn

cassandra super column family input format

2010-12-18 Thread CassUser CassUser
Curious if anyone has done input from a cassandra super column? Any support for this currently? Thanks

How to get columns in a super column in cassandra-cli ?

2010-12-14 Thread Hayarobi Park
Hello, I'm using cassandra 0.7.0-rc2. When I tried to get column contents in a super column of Super CF like below; ] get myCF['key']['scName']; the client reply supercolumn parameter is not optional for super CF user It seemed to work in cassandra-0.7.0-beta2, if my

Re: Can super column family use column_metadata?

2010-12-07 Thread Jonathan Ellis
On Tue, Dec 7, 2010 at 4:28 PM, Donal Zang wrote: > Hi, > I'm using 0.7.0-rc1,and when I use cassandra-cli to create a column family > with metadata, I got "null",and no column family is created. > The command I use is: > > create keyspace test; > use test; > create column family test1 with column

Can super column family use column_metadata?

2010-12-07 Thread Donal Zang
Hi, I'm using 0.7.0-rc1,and when I use cassandra-cli to create a column family with metadata, I got "null",and no column family is created. The command I use is: /create keyspace test; use test; create column family test1 with column_type = 'Super' and comparator = 'LongType' and column_metada

Re: Hadoop Word Count Super Column Example?

2010-10-20 Thread Aaron Morton
d, the current mapper gets a map of column names to IColumns. The SuperColumn implements the IColumn interface. So you would probably need both the super column name and the subcolumn name to get at it, but you just need to cast the IColumn to a super column and handle it from there. >> >&g

Re: Hadoop Word Count Super Column Example?

2010-10-20 Thread Jeremy Hanna
.db.SuperColumn. > > Have your tried it ? > > Aaron > > > > On 20 Oct 2010, at 04:44, Jeremy Hanna wrote: > >> It's relatively straightforward, the current mapper gets a map of column >> names to IColumns. The SuperColumn implements the IColumn i

Re: Hadoop Word Count Super Column Example?

2010-10-20 Thread aaron morton
n > names to IColumns. The SuperColumn implements the IColumn interface. So you > would probably need both the super column name and the subcolumn name to get > at it, but you just need to cast the IColumn to a super column and handle it > from there. > > On Oct 19, 201

Re: Hadoop Word Count Super Column Example?

2010-10-19 Thread Jeremy Hanna
It's relatively straightforward, the current mapper gets a map of column names to IColumns. The SuperColumn implements the IColumn interface. So you would probably need both the super column name and the subcolumn name to get at it, but you just need to cast the IColumn to a super colum

Hadoop Word Count Super Column Example?

2010-10-19 Thread Frank LoVecchio
I have a Hadoop installation working with a cluster of 0.7 Beta 2 Nodes, and got the WordCount example to work using the standard configuration. I have been inserting data into a Super Column (Sensor) with TimeUUID as the compare type, it looks like this: get Sensor['DeviceID:S

Re: Query on delete a column inside a super column

2010-07-08 Thread Moses Dinakaran
As per my knowledge in phpCassa I didnt find any option to remove a column from the supercolumn, The remove method removes the whole super column from the key, will check with thrift api. Through mutation object insert/update happens but removing a column dosent happen. Thank you all. Regards

Re: Query on delete a column inside a super column

2010-07-07 Thread Jonathan Ellis
On Wed, Jul 7, 2010 at 12:16 AM, Jonathan Ellis wrote: >> >> insert is insert-or-update.  leaving out a column from an update >> doesn't delete it, you need to use the remove method for that. >> >> On Tue, Jul 6, 2010 at 7:41 AM, Moses Dinakaran >> wr

SV: Query on delete a column inside a super column

2010-07-07 Thread Thorvaldsson Justus
apache.org Ämne: Re: Query on delete a column inside a super column Hi, Thanks for the reply, The remove method $cassandraInstance->remove('cache_pages_key_hash', 'hash_1' ) which will remove the whole key, But I don't want to do that, I need to remove one column ins

Re: Query on delete a column inside a super column

2010-07-06 Thread Moses Dinakaran
e: > > Hi All, > > > > I have a query related to deleting a column inside a super column > > > > The following is my cassandra schema > > > > [cache_pages_key_hash] => Array > >( > >[hash_1] => Array

Re: Query on delete a column inside a super column

2010-07-06 Thread Jonathan Ellis
insert is insert-or-update. leaving out a column from an update doesn't delete it, you need to use the remove method for that. On Tue, Jul 6, 2010 at 7:41 AM, Moses Dinakaran wrote: > Hi All, > > I have a query related to deleting a column inside a super column > > The follo

Query on delete a column inside a super column

2010-07-06 Thread Moses Dinakaran
Hi All, I have a query related to deleting a column inside a super column The following is my cassandra schema [cache_pages_key_hash] => Array ( [hash_1] => Array ( [1] => 4c330e95195f9 [2] => 4

Re: facebook search index super column, do I have this correct?

2010-07-02 Thread S Ahmed
Actually I think in the video they said they store each messageID as a seperate column, that way they can do range queries correct? so it would be: aloha: { message1: "2343", message2: "9590002", } On Thu, Jul 1, 2010 at 6:25 PM, S Ahmed wrote: > So trying to map how facebook implemented a

facebook search index super column, do I have this correct?

2010-07-01 Thread S Ahmed
So trying to map how facebook implemented a CF of type Super to index message terms. Is this json representation correct? MessageIndex = { userid1 : { aloha : { messageIdList: "234,2343234,23423434,234255,345345,2342,532432"}, clown : { messageIdList: "632, 2342, 23452, 234234, 23423

Re: Go over super column data and delete the first X rows

2010-05-23 Thread Jonathan Ellis
the TTL (expiring columns) feature in 0.7 is the easiest way to do this. Until then you'd have to delete them manually. On Sun, May 23, 2010 at 3:35 AM, Yan Virin wrote: > Hi > I want to use cassandra for storing some data which gets irrelevant with > time. There will be a lot of data and I want

Re: super column

2010-05-22 Thread Jonathan Ellis
(a) No (b) you should restrict it to < 2GB of data in 0.6 On Sat, May 22, 2010 at 3:55 AM, huajun qi wrote: > Can the value of a column under a super column be a super column? > > For examples: > > sc={ >        name:"name", >        value:{ >      

Re: key path vs super column

2010-05-20 Thread Brandon Williams
;, 'attrB' => 'b1' }, > => { 'id'=>2, 'attrA' => 'a2', 'attrB' => 'b1' } >... >} > > The number of attributes are quite limited currently (below 20) and > for now we only plan to have no more than 1000

key path vs super column

2010-05-19 Thread Torsten Curdt
27;attrB' => 'b1' } ... } The number of attributes are quite limited currently (below 20) and for now we only plan to have no more than 1000 events per minute. So this should be really a piece of cake for Cassandra. With this little data using a super column should be n

RE: FW: Is there any way to enable the multiple super column names at a time?

2010-04-12 Thread Dop Sun
and finish is for the standard columns Thanks for all your help. Appreciated! Dop -Original Message- From: Dop Sun [mailto:su...@dopsun.com] Sent: Monday, April 12, 2010 9:44 PM To: user@cassandra.apache.org Subject: RE: FW: Is there any way to enable the multiple super column names

RE: FW: Is there any way to enable the multiple super column names at a time?

2010-04-12 Thread Dop Sun
uper1. Regards, Dop -Original Message- From: Dop Sun [mailto:su...@dopsun.com] Sent: Monday, April 12, 2010 9:03 PM To: user@cassandra.apache.org Subject: RE: FW: Is there any way to enable the multiple super column names at a time? Thanks for your quick reply. Actually, I tried to lea

RE: FW: Is there any way to enable the multiple super column names at a time?

2010-04-12 Thread Dop Sun
Thanks for your quick reply. Actually, I tried to leave it as null or byte[0], nothing returned, and if I put right super column value, it returns 3 items actually (in my simple test case). I'm using get_range_slices. I'm calling two times with all other arguments same. I'm us

Re: FW: Is there any way to enable the multiple super column names at a time?

2010-04-12 Thread Jonathan Ellis
certain range of super column > in a single query? > > I have checked the following APIs, but looks they don't work for this: > get: for a single column > get_slice: contains column_parent as parameter, means a single CF + SC > multiget_slice: contains column_parent

FW: Is there any way to enable the multiple super column names at a time?

2010-04-12 Thread Dop Sun
I guess I'm putting in the wrong email list. Sorry for this. My question in short is: whether I can get a certain range of super column in a single query? I have checked the following APIs, but looks they don't work for this: get: for a single column get_slice: contains column

Re: does compaction of Super Column Family have same limit as compaction of Column Family

2010-04-07 Thread Benjamin Black
SCF rows are loaded in their entirety into memory, so the limit applies in the same way. On Wed, Apr 7, 2010 at 5:16 PM, Jeremy Davis wrote: > Quick question: > There is an open issue with ColumnFamilies growing too large to fit in > memory when compacting.. > Does this same limit also apply to S

does compaction of Super Column Family have same limit as compaction of Column Family

2010-04-07 Thread Jeremy Davis
Quick question: There is an open issue with ColumnFamilies growing too large to fit in memory when compacting.. Does this same limit also apply to SCF? As long as each sub CF is sufficiently small, etc. -JD