Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 331C390CA for ; Tue, 27 Mar 2012 12:23:08 +0000 (UTC) Received: (qmail 87389 invoked by uid 500); 27 Mar 2012 12:23:05 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 87358 invoked by uid 500); 27 Mar 2012 12:23:05 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 87350 invoked by uid 99); 27 Mar 2012 12:23:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2012 12:23:05 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [125.21.17.197] (HELO mail2.impetus.co.in) (125.21.17.197) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2012 12:22:59 +0000 Received: from MAIL3.impetus.co.in ([fe80::443f:4f25:6889:b268]) by Mail2.impetus.co.in ([fe80::9453:16e7:f5d0:4746%11]) with mapi id 14.02.0283.003; Tue, 27 Mar 2012 17:52:37 +0530 From: Rishabh Agrawal To: "user@cassandra.apache.org" Subject: RE: counter column family Thread-Topic: counter column family Thread-Index: AQHNDBFq/dLv+PPbG0OL/kr+DQ9XrJZ9s5sAgABcnwA= Date: Tue, 27 Mar 2012 12:22:36 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.41.53] Content-Type: multipart/alternative; boundary="_000_D5515937F9B7CC409E7561CBF5124A640E917EDAMail3impetuscoi_" MIME-Version: 1.0 --_000_D5515937F9B7CC409E7561CBF5124A640E917EDAMail3impetuscoi_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable As far as I know counter column family may pose serious consistency issues = as they don't store timestamp. Correct me if I am wrong. From: R. Verlangen [mailto:robin@us2.nl] Sent: Tuesday, March 27, 2012 5:50 PM To: user@cassandra.apache.org Subject: Re: counter column family create column family MyCounterColumnFamily with default_validation_class=3D= CounterColumnType and key_validation_class=3DUTF8Type and comparator=3DUTF8= Type; There you go! Keys must be utf8, as well as the column names. Of course you= can change those validators. Cheers! 2012/3/27 puneet loya > Can u give an example of create column family with counter column in it. Please reply Regards, Puneet Loya -- With kind regards, Robin Verlangen www.robinverlangen.nl ________________________________ Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know = more about our Big Data quick-start program at the event. New Impetus webcast 'Cloud-enabled Performance Testing vis-?-vis On-premise= ' available at http://bit.ly/z6zT4L. NOTE: This message may contain information that is confidential, proprietar= y, privileged or otherwise protected by law. The message is intended solely= for the named addressee. If received in error, please destroy and notify t= he sender. Any use of this email is prohibited when received in error. Impe= tus does not represent, warrant and/or guarantee, that the integrity of thi= s communication has been maintained nor that the communication is free of e= rrors, virus, interception or interference. --_000_D5515937F9B7CC409E7561CBF5124A640E917EDAMail3impetuscoi_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

As far as I know counte= r column family may pose serious consistency issues as they don’t sto= re timestamp. Correct me if I am wrong.

 

From: R. Ver= langen [mailto:robin@us2.nl]
Sent: Tuesday, March 27, 2012 5:50 PM
To: user@cassandra.apache.org
Subject: Re: counter column family

 

create column family MyCounterColumnFamily with default_validatio= n_class=3DCounterColumnType and key_validation_class=3DUTF8Type and comparator=3DUTF8Type; 

 

There you go! Keys must be utf8, as well as the colu= mn names. Of course you can change those validators.

 

Cheers!

2012/3/27 puneet loya <puneetloya@gmail.com>

Can u give an example of create column family with c= ounter column in it. 

 

 

Please reply

 

 

Regards,

 

Puneet Loya



 

--
With kind regards,

 

Robin Verlangen

 




Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know = more about our Big Data quick-start program at the event.

New Impetus webcast ‘Cloud-enabled Performance Testing vis-à-v= is On-premise’ available at http://bit.ly/z6zT4L.


NOTE: This message may contain information that is confidential, proprietar= y, privileged or otherwise protected by law. The message is intended solely= for the named addressee. If received in error, please destroy and notify t= he sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant = and/or guarantee, that the integrity of this communication has been maintai= ned nor that the communication is free of errors, virus, interception or in= terference.
--_000_D5515937F9B7CC409E7561CBF5124A640E917EDAMail3impetuscoi_--