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 2B33B10726 for ; Mon, 17 Mar 2014 19:58:05 +0000 (UTC) Received: (qmail 65690 invoked by uid 500); 17 Mar 2014 19:57:54 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 65377 invoked by uid 500); 17 Mar 2014 19:57:46 -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 65325 invoked by uid 500); 17 Mar 2014 19:57:45 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 65299 invoked by uid 99); 17 Mar 2014 19:57:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2014 19:57:44 +0000 Date: Mon, 17 Mar 2014 19:57:44 +0000 (UTC) From: "Hive QA (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6620) UDF printf doesn't take either CHAR or VARCHAR as the first argument 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-6620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13938295#comment-13938295 ] Hive QA commented on HIVE-6620: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12635011/HIVE-6620.1.patch {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 5401 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_auto_sortmerge_join_16 {noformat} Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1860/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1860/console Messages: {noformat} 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: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12635011 > UDF printf doesn't take either CHAR or VARCHAR as the first argument > -------------------------------------------------------------------- > > Key: HIVE-6620 > URL: https://issues.apache.org/jira/browse/HIVE-6620 > Project: Hive > Issue Type: Bug > Components: UDF > Affects Versions: 0.12.0 > Reporter: Xuefu Zhang > Assignee: Xuefu Zhang > Attachments: HIVE-6620.1.patch, HIVE-6620.patch, HIVE-6620.patch, HIVE-6620.patch > > > {code} > hive> desc vc; > OK > c char(5) None > vc varchar(7) None > s string None > hive> select printf(c) from vc; > FAILED: SemanticException [Error 10016]: Line 1:14 Argument type mismatch 'c': Argument 1 of function PRINTF must be "string", but "char(5)" was found. > {code} > However, if the argument is string type, the query runs successfully. -- This message was sent by Atlassian JIRA (v6.2#6252)