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 4485A9DD1 for ; Mon, 18 Jun 2012 09:20:50 +0000 (UTC) Received: (qmail 92993 invoked by uid 500); 18 Jun 2012 09:20:49 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 92244 invoked by uid 500); 18 Jun 2012 09:20:45 -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 92136 invoked by uid 500); 18 Jun 2012 09:20:43 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 92129 invoked by uid 99); 18 Jun 2012 09:20:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2012 09:20:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id E5E4B1427F2 for ; Mon, 18 Jun 2012 09:20:42 +0000 (UTC) Date: Mon, 18 Jun 2012 09:20:42 +0000 (UTC) From: "Philip Tromans (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <183699623.24179.1340011242946.JavaMail.jiratomcat@issues-vm> In-Reply-To: <215985418.12100.1339585662700.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HIVE-3125) sort_array doesn't work with LazyPrimitive 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-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13395758#comment-13395758 ] Philip Tromans commented on HIVE-3125: -------------------------------------- @Carl, @Edward: Review board seems to be back now. I've submitted a review request: https://reviews.apache.org/r/5384/ > sort_array doesn't work with LazyPrimitive > ------------------------------------------ > > Key: HIVE-3125 > URL: https://issues.apache.org/jira/browse/HIVE-3125 > Project: Hive > Issue Type: Bug > Components: UDF > Affects Versions: 0.9.0 > Reporter: Philip Tromans > Assignee: Philip Tromans > Attachments: HIVE-3125.1.patch.txt > > > The sort_array function doesn't work against data that's actually come out of a table. The test suite only covers constants given in the query. > If you try and use sort_array on an array from a table, then you get a ClassCastException that you can't convert LazyX to Comparable. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira