Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 7209 invoked from network); 3 Jun 2010 06:20:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jun 2010 06:20:09 -0000 Received: (qmail 29354 invoked by uid 500); 3 Jun 2010 06:20:08 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 29201 invoked by uid 500); 3 Jun 2010 06:20:08 -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 29193 invoked by uid 99); 3 Jun 2010 06:20:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 06:20:08 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-wy0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 06:20:03 +0000 Received: by wyf23 with SMTP id 23so2378546wyf.31 for ; Wed, 02 Jun 2010 23:19:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=FN29jXJfNSTO1sTnMeV+vvqsmEAKNESlyfGZBcRQyWU=; b=VKIie594WeT/kPYydw5T5OlQLGeP59nvdzhYSyCVCYzvygzwRYdZ6IuMKHyVgI5K5j 6YQpUYDkYZC+kNk7ThyEbO8D1leTb7eWVI/VStg+fAijWrdIRDu3wtDOwSIyM4gVtM6U BWbM84Fr0gQ1P/jPlPDNAmPAa5eJIc2hi4XW4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=AQoTn30F4e9hDXDYk0zV9D5gH7PTkMOr/KWBeUf/h5Hljbf4Q9ix6pEBCeAKvrFXbu OmAMcMHW+9k3qRtygxtgA7p0V3ATuON4qmRj38by4LE0joKsyEDwhnVVczPmwjXblGU4 w9R4+diiWwZfs2+bmwHNoNssLmRZOHtsrQzzc= Received: by 10.216.88.203 with SMTP id a53mr810703wef.25.1275545982205; Wed, 02 Jun 2010 23:19:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.17.197 with HTTP; Wed, 2 Jun 2010 23:19:22 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Wed, 2 Jun 2010 23:19:22 -0700 Message-ID: Subject: Re: Start key must sort before (or equal to) finish key in your partitioner To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 that would be reasonable On Wed, Jun 2, 2010 at 6:41 AM, David Boxenhorn wrote: > Would it be better to use an SQL-style timestamp ("YYYY-MM-DD HH:MM:SS.MMM") > + unique id, then? They sort lexically the same as they sort > chronologically. > > On Wed, Jun 2, 2010 at 4:37 PM, Leslie Viljoen > wrote: >> >> On Mon, May 31, 2010 at 8:52 PM, Jonathan Ellis wrote: >> > OPP uses lexical ordering on the keys, which isn't going to be the >> > same as the natural order for a time-based uuid. >> >> *palmface* > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com