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 5004F178ED for ; Thu, 9 Apr 2015 07:42:23 +0000 (UTC) Received: (qmail 25794 invoked by uid 500); 9 Apr 2015 07:42:20 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 25753 invoked by uid 500); 9 Apr 2015 07:42:20 -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 25743 invoked by uid 99); 9 Apr 2015 07:42:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2015 07:42:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of serega.sheypak@gmail.com designates 209.85.216.47 as permitted sender) Received: from [209.85.216.47] (HELO mail-vn0-f47.google.com) (209.85.216.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2015 07:42:16 +0000 Received: by vnbg62 with SMTP id g62so20551699vnb.7 for ; Thu, 09 Apr 2015 00:41:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=xOkptygeVmqDF5djTcCfg+Bo9b/yvtoVTFZtighkp70=; b=xlfv78Kt0rYyUbc5V1FjM7BlLpTT0Gf7a7876CvlRLoCde1nZO1Fx6hGbvumTrSw5z n7iPALfkKzruIHjZxeO1EmyNoKcpAbzY6FbSm/za+1CWYr0HPD3zxYjXopNteaEYVBWk yXMa34as0W7fF3mC8hdbSLUFnxUxb0D1qJaZFSF/iqyJiM8Xm4rQahpxZpKi4Y7JJkX9 icGWmcIEgHnytXjGrQWxNOv16EJpXGKCToVJW9MdW0cOCQSg/DdKDCiCtsiwtjwyopHT mZkMb0fhbCqDhC9uHzJP6y/6IrcG29oNfz76cPwsKZP75f734x+acHkNPLsGrSUjH6Rb iVjA== X-Received: by 10.60.63.141 with SMTP id g13mr37005093oes.3.1428565315226; Thu, 09 Apr 2015 00:41:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.169.116 with HTTP; Thu, 9 Apr 2015 00:41:34 -0700 (PDT) In-Reply-To: References: From: Serega Sheypak Date: Thu, 9 Apr 2015 09:41:34 +0200 Message-ID: Subject: Re: OrderPreservingPartitioner and compound partition key To: user Content-Type: multipart/alternative; boundary=001a11c1db34271151051345c815 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1db34271151051345c815 Content-Type: text/plain; charset=UTF-8 I understand the reason, but If I user OrderPreservingPartitioner and have compound partition key, can I use select using only FIRST component of compound partition key? 2015-04-08 20:43 GMT+02:00 Robert Coli : > On Wed, Apr 8, 2015 at 1:27 AM, Serega Sheypak > wrote: > >> and I set OrderPreservingPartitioner as a partitioner for the table >> > > As a general statement, you almost certainly do not want to use the > OrderPreservingPartitioner for any purpose. > > It should probably be called the > DontUseThisIfYouWantMostOfTheAdvantagesOfADistributedSystemPartitioner. > > =Rob > > --001a11c1db34271151051345c815 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I understand the reason, but If I user=C2=A0OrderPreservin= gPartitioner and have compound partition key, can I use select using only F= IRST component of compound partition key?
<= br>
2015-04-08 20:43 GMT+02:00 Robert Coli <r= coli@eventbrite.com>:
On Wed, Apr 8, 2015 at 1:27 AM, Serega Sheypak &l= t;serega.shey= pak@gmail.com> wrote:
and I set=C2=A0OrderPreservingPartitioner as a partitioner= for the table

As a gene= ral statement, you almost certainly do not want to use the OrderPreservingP= artitioner for any purpose.

It should probably be = called the DontUseThisIfYouWantMostOfTheAdvantagesOfADistributedSystemParti= tioner.

=3DRob
=C2=A0
<= /div>

--001a11c1db34271151051345c815--