Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 70366E4EE for ; Tue, 4 Dec 2012 09:47:00 +0000 (UTC) Received: (qmail 62992 invoked by uid 500); 4 Dec 2012 09:47:00 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 62835 invoked by uid 500); 4 Dec 2012 09:46:59 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 62807 invoked by uid 500); 4 Dec 2012 09:46:58 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 62799 invoked by uid 99); 4 Dec 2012 09:46:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2012 09:46:58 +0000 Date: Tue, 4 Dec 2012 09:46:58 +0000 (UTC) From: "Namit Jain (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <249801899.58176.1354614418438.JavaMail.jiratomcat@arcas> In-Reply-To: <1660269150.30375.1354061818345.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HIVE-3750) JDBCStatsPublisher fails when ID length exceeds length of ID column 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-3750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Namit Jain updated HIVE-3750: ----------------------------- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Committed. Thanks Kevin > JDBCStatsPublisher fails when ID length exceeds length of ID column > ------------------------------------------------------------------- > > Key: HIVE-3750 > URL: https://issues.apache.org/jira/browse/HIVE-3750 > Project: Hive > Issue Type: Bug > Components: Statistics > Affects Versions: 0.11 > Reporter: Kevin Wilfong > Assignee: Kevin Wilfong > Attachments: HIVE-3750.1.patch.txt > > > When the length of the ID field passed to JDBCStatsPublisher exceeds the length of the column in the table (currently 255 characters) stats collection fails. This causes the entire query to fail when hive.stats.reliable is set to true. > One way to prevent this would be to calculate a deterministic, very low collision hash of the ID prefix used for aggregation and use that when the length of the ID is too long. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira