Return-Path: X-Original-To: apmail-phoenix-dev-archive@minotaur.apache.org Delivered-To: apmail-phoenix-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 625E219924 for ; Thu, 28 Apr 2016 01:57:15 +0000 (UTC) Received: (qmail 26715 invoked by uid 500); 28 Apr 2016 01:57:15 -0000 Delivered-To: apmail-phoenix-dev-archive@phoenix.apache.org Received: (qmail 26655 invoked by uid 500); 28 Apr 2016 01:57:15 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 26644 invoked by uid 99); 28 Apr 2016 01:57:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2016 01:57:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id CD191180290 for ; Thu, 28 Apr 2016 01:57:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.221 X-Spam-Level: X-Spam-Status: No, score=-3.221 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id xocNk1I2nlWA for ; Thu, 28 Apr 2016 01:57:14 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id BA1CD5F298 for ; Thu, 28 Apr 2016 01:57:13 +0000 (UTC) Received: (qmail 26215 invoked by uid 99); 28 Apr 2016 01:57:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2016 01:57:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 08B9A2C14F4 for ; Thu, 28 Apr 2016 01:57:13 +0000 (UTC) Date: Thu, 28 Apr 2016 01:57:13 +0000 (UTC) From: "James Taylor (JIRA)" To: dev@phoenix.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-258) Use skip scan when SELECT DISTINCT on leading row key column(s) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PHOENIX-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261389#comment-15261389 ] James Taylor commented on PHOENIX-258: -------------------------------------- [~lhofhansl] - had any spare cycles to work on this and if so want to attach your latest WIP patch? > Use skip scan when SELECT DISTINCT on leading row key column(s) > --------------------------------------------------------------- > > Key: PHOENIX-258 > URL: https://issues.apache.org/jira/browse/PHOENIX-258 > Project: Phoenix > Issue Type: Task > Reporter: ryang-sfdc > Labels: gsoc2016 > Fix For: 4.8.0 > > Attachments: 258.txt > > > create table(a varchar(32) not null, date date not null constraint pk primary key(a,date)) > [["PLAN"],["CLIENT PARALLEL 94-WAY FULL SCAN OVER foo"],[" SERVER AGGREGATE INTO ORDERED DISTINCT ROWS BY [a]"],["CLIENT MERGE SORT"]] > We should skip scan. -- This message was sent by Atlassian JIRA (v6.3.4#6332)