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 A2DC218DD8 for ; Tue, 13 Oct 2015 09:29:05 +0000 (UTC) Received: (qmail 42595 invoked by uid 500); 13 Oct 2015 09:29:05 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 42569 invoked by uid 500); 13 Oct 2015 09:29:05 -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 42559 invoked by uid 99); 13 Oct 2015 09:29:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2015 09:29:05 +0000 Date: Tue, 13 Oct 2015 09:29:05 +0000 (UTC) From: "Hive QA (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-11679) SemanticAnalysis of "a=1" can result in a new Configuration() object 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-11679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14954704#comment-14954704 ] Hive QA commented on HIVE-11679: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12766240/HIVE-11679.3.patch.txt {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 9755 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udaf_histogram_numeric org.apache.hive.hcatalog.api.TestHCatClient.testTableSchemaPropagation org.apache.hive.hcatalog.hbase.TestPigHBaseStorageHandler.org.apache.hive.hcatalog.hbase.TestPigHBaseStorageHandler org.apache.hive.jdbc.TestSSL.testSSLVersion {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5626/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5626/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-5626/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 4 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12766240 - PreCommit-HIVE-TRUNK-Build > SemanticAnalysis of "a=1" can result in a new Configuration() object > -------------------------------------------------------------------- > > Key: HIVE-11679 > URL: https://issues.apache.org/jira/browse/HIVE-11679 > Project: Hive > Issue Type: Bug > Components: Query Planning > Affects Versions: 1.3.0, 2.0.0 > Reporter: Gopal V > Assignee: Navis > Attachments: HIVE-11679.1.patch.txt, HIVE-11679.2.patch.txt, HIVE-11679.3.patch.txt > > > {code} > public static ExprNodeGenericFuncDesc newInstance(GenericUDF genericUDF, > String funcText, > List children) throws UDFArgumentException { > ... > if (genericUDF instanceof GenericUDFBaseCompare && children.size() == 2) { > TypeInfo oiTypeInfo0 = children.get(0).getTypeInfo(); > TypeInfo oiTypeInfo1 = children.get(1).getTypeInfo(); > SessionState ss = SessionState.get(); > Configuration conf = (ss != null) ? ss.getConf() : new Configuration(); > {code} > This is both a SessionState.get() which is a threadlocal lookup or worse, a new Configuration() which means XML parsing of multiple files for each equality expression in the query. -- This message was sent by Atlassian JIRA (v6.3.4#6332)