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 2ABCC11339 for ; Mon, 15 Sep 2014 08:07:35 +0000 (UTC) Received: (qmail 56317 invoked by uid 500); 15 Sep 2014 08:07:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 56230 invoked by uid 500); 15 Sep 2014 08:07:34 -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 56218 invoked by uid 500); 15 Sep 2014 08:07:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 56215 invoked by uid 99); 15 Sep 2014 08:07:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2014 08:07:34 +0000 Date: Mon, 15 Sep 2014 08:07:34 +0000 (UTC) From: "Hive QA (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-7325) Support non-constant expressions for MAP type indices. 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-7325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14133676#comment-14133676 ] Hive QA commented on HIVE-7325: ------------------------------- {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/12668700/HIVE-7325.4.patch.txt {color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 6273 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.ql.parse.TestParse.testParse_union org.apache.hive.jdbc.TestJdbcWithMiniHS2.testConnection org.apache.hive.jdbc.TestJdbcWithMiniHS2.testConnectionSchemaAPIs org.apache.hive.jdbc.TestJdbcWithMiniHS2.testNewConnectionConfiguration org.apache.hive.jdbc.TestJdbcWithMiniHS2.testRootScratchDir org.apache.hive.jdbc.TestJdbcWithMiniHS2.testSessionScratchDirs org.apache.hive.jdbc.TestJdbcWithMiniHS2.testURIDatabaseName {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/799/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/799/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-799/ 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: 7 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12668700 > Support non-constant expressions for MAP type indices. > ------------------------------------------------------ > > Key: HIVE-7325 > URL: https://issues.apache.org/jira/browse/HIVE-7325 > Project: Hive > Issue Type: Bug > Affects Versions: 0.13.1 > Reporter: Mala Chikka Kempanna > Assignee: Navis > Fix For: 0.14.0 > > Attachments: HIVE-7325.1.patch.txt, HIVE-7325.2.patch.txt, HIVE-7325.3.patch.txt, HIVE-7325.4.patch.txt > > > Here is my sample: > {code} > CREATE TABLE RECORD(RecordID string, BatchDate string, Country string) > STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' > WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,D:BatchDate,D:Country") > TBLPROPERTIES ("hbase.table.name" = "RECORD"); > CREATE TABLE KEY_RECORD(KeyValue String, RecordId map) > STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' > WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key, K:") > TBLPROPERTIES ("hbase.table.name" = "KEY_RECORD"); > {code} > The following join statement doesn't work. > {code} > SELECT a.*, b.* from KEY_RECORD a join RECORD b > WHERE a.RecordId[b.RecordID] is not null; > {code} > FAILED: SemanticException 2:16 Non-constant expression for map indexes not supported. Error encountered near token 'RecordID' -- This message was sent by Atlassian JIRA (v6.3.4#6332)