Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DD659200CB5 for ; Wed, 12 Jul 2017 23:47:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DA347165F58; Wed, 12 Jul 2017 21:47:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 35396164576 for ; Wed, 12 Jul 2017 23:47:49 +0200 (CEST) Received: (qmail 450 invoked by uid 500); 12 Jul 2017 21:47:48 -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 419 invoked by uid 99); 12 Jul 2017 21:47:47 -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; Wed, 12 Jul 2017 21:47:47 +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 CADE71960F2 for ; Wed, 12 Jul 2017 21:47:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id OMIGkjDsipc3 for ; Wed, 12 Jul 2017 21:47:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id AE19362498 for ; Wed, 12 Jul 2017 21:46:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 021F5E0D92 for ; Wed, 12 Jul 2017 21:46:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4F5EB24728 for ; Wed, 12 Jul 2017 21:46:00 +0000 (UTC) Date: Wed, 12 Jul 2017 21:46:00 +0000 (UTC) From: "Mujtaba Chohan (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (PHOENIX-4017) Stats - Expected bytes/rows return null for index tables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 12 Jul 2017 21:47:50 -0000 Mujtaba Chohan created PHOENIX-4017: --------------------------------------- Summary: Stats - Expected bytes/rows return null for index tables Key: PHOENIX-4017 URL: https://issues.apache.org/jira/browse/PHOENIX-4017 Project: Phoenix Issue Type: Bug Affects Versions: 4.11.0 Reporter: Mujtaba Chohan Priority: Minor Estimated row count and bytes read return null for explain plan that uses index. {noformat} +-------------------------------------------------------------------------------------------------------------------+-----------------+----------------+ | PLAN | EST_BYTES_READ | EST_ROWS_READ | +-------------------------------------------------------------------------------------------------------------------+-----------------+----------------+ | CLIENT 48-CHUNK 407739 ROWS 470002889 BYTES PARALLEL 1-WAY FULL SCAN OVER T.IDX | null | null | | SERVER FILTER BY FIRST KEY ONLY | null | null | | SERVER AGGREGATE INTO SINGLE ROW | null | null | +-------------------------------------------------------------------------------------------------------------------+-----------------+----------------+ {noformat} Estimated row count and bytes read works fine if NO_INDEX hint is used for base table stats. -- This message was sent by Atlassian JIRA (v6.4.14#64029)