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 B585410C8E for ; Wed, 31 Dec 2014 04:55:13 +0000 (UTC) Received: (qmail 55422 invoked by uid 500); 31 Dec 2014 04:55:13 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 55353 invoked by uid 500); 31 Dec 2014 04:55:13 -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 55341 invoked by uid 500); 31 Dec 2014 04:55:13 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 55338 invoked by uid 99); 31 Dec 2014 04:55:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Dec 2014 04:55:13 +0000 Date: Wed, 31 Dec 2014 04:55:13 +0000 (UTC) From: "Alexander Pivovarov (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-3405) UDF initcap to obtain a string with the first letter of each word in uppercase other letters in lowercase 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-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14261917#comment-14261917 ] Alexander Pivovarov commented on HIVE-3405: ------------------------------------------- it was one error during the build 2223 (HIVE-3405.2.patch). The error is not related to this ticket - org.apache.hadoop.hive.cli/TestMiniTezCliDriver - testCliDriver_optimize_nullscan BTW, I run failed test on my computer - it passed {code} [apivovarov@c11 qtest]$ mvn test -Dtest=TestMiniTezCliDriver -Dqfile=optimize_nullscan.q -Dtest.output.overwrite=true -Phadoop-2 ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.hadoop.hive.cli.TestMiniTezCliDriver Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 617.308 sec - in org.apache.hadoop.hive.cli.TestMiniTezCliDriver Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11:10 min [INFO] Finished at: 2014-12-30T20:50:49-08:00 [INFO] Final Memory: 89M/671M [INFO] ------------------------------------------------------------------------ {code} > UDF initcap to obtain a string with the first letter of each word in uppercase other letters in lowercase > --------------------------------------------------------------------------------------------------------- > > Key: HIVE-3405 > URL: https://issues.apache.org/jira/browse/HIVE-3405 > Project: Hive > Issue Type: New Feature > Components: UDF > Affects Versions: 0.8.1, 0.9.0, 0.9.1, 0.10.0, 0.11.0, 0.13.0, 0.14.0, 0.15.0, 0.14.1 > Reporter: Archana Nair > Assignee: Alexander Pivovarov > Labels: patch > Attachments: HIVE-3405.1.patch.txt, HIVE-3405.2.patch, HIVE-3405.3.patch, HIVE-3405.4.patch > > > Hive current releases lacks a INITCAP function which returns String with first letter of the word in uppercase.INITCAP returns String, with the first letter of each word in uppercase, all other letters in same case. Words are delimited by white space.This will be useful report generation. -- This message was sent by Atlassian JIRA (v6.3.4#6332)