Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F7BE17A8F for ; Fri, 25 Sep 2015 17:53:04 +0000 (UTC) Received: (qmail 18520 invoked by uid 500); 25 Sep 2015 17:53:04 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 18493 invoked by uid 500); 25 Sep 2015 17:53:04 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 18483 invoked by uid 99); 25 Sep 2015 17:53:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2015 17:53:04 +0000 Date: Fri, 25 Sep 2015 17:53:04 +0000 (UTC) From: "Pengcheng Xiong (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-11937) Improve StatsOptimizer to deal with query with additional constant columns 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/HIVE-11937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14908398#comment-14908398 ] Pengcheng Xiong commented on HIVE-11937: ---------------------------------------- update golden files for metadata_only_queries on the other test drivers. the other test failures are unrelated. > Improve StatsOptimizer to deal with query with additional constant columns > -------------------------------------------------------------------------- > > Key: HIVE-11937 > URL: https://issues.apache.org/jira/browse/HIVE-11937 > Project: Hive > Issue Type: Improvement > Reporter: Pengcheng Xiong > Assignee: Pengcheng Xiong > Attachments: HIVE-11937.01.patch, HIVE-11937.02.patch > > > Right now StatsOptimizer can deal with query such as "select count(1) from src" by directly looking into the metastore. However, it can not deal with "select '1' as one, count(1) from src" which has an additional constant column. We may improve it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)