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 B4C1D18897 for ; Fri, 19 Feb 2016 04:19:18 +0000 (UTC) Received: (qmail 80148 invoked by uid 500); 19 Feb 2016 04:19:18 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 80125 invoked by uid 500); 19 Feb 2016 04:19:18 -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 80116 invoked by uid 99); 19 Feb 2016 04:19:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2016 04:19:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0BB092C14F2 for ; Fri, 19 Feb 2016 04:19:18 +0000 (UTC) Date: Fri, 19 Feb 2016 04:19:18 +0000 (UTC) From: "Matt McCline (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-13092) Vectorized java.lang.ClassCastException: org.apache.hadoop.hive.serde2.typeinfo.ListTypeInfo cannot be cast to org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo 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-13092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt McCline updated HIVE-13092: -------------------------------- Attachment: HIVE-13092.01.patch > Vectorized java.lang.ClassCastException: org.apache.hadoop.hive.serde2.typeinfo.ListTypeInfo cannot be cast to org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HIVE-13092 > URL: https://issues.apache.org/jira/browse/HIVE-13092 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 1.3.0 > Reporter: Matt McCline > Assignee: Matt McCline > Priority: Critical > Fix For: 1.3.0 > > Attachments: HIVE-13092.01.patch > > > When table being queried has a COMPLEX data type(s) but those columns are not referenced and they are not excluded by the include columns, then we get this runtime exception: > {code} > Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row > at org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:52) > at org.apache.hadoop.hive.ql.exec.tez.MapRecordSource.processRow(MapRecordSource.java:83) > ... 17 more > Caused by: java.lang.ClassCastException: org.apache.hadoop.hive.serde2.typeinfo.ListTypeInfo cannot be cast to org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo > at org.apache.hadoop.hive.ql.exec.vector.VectorExtractRow.init(VectorExtractRow.java:678) > at org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator.process(VectorReduceSinkOperator.java:82) > at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:838) > at org.apache.hadoop.hive.ql.exec.vector.VectorFilterOperator.process(VectorFilterOperator.java:117) > at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:838) > at org.apache.hadoop.hive.ql.exec.TableScanOperator.process(TableScanOperator.java:97) > at org.apache.hadoop.hive.ql.exec.MapOperator$MapOpCtx.forward(MapOperator.java:164) > at org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:45) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)