From issues-return-188095-apmail-hive-issues-archive=hive.apache.org@hive.apache.org Fri May 1 20:58:02 2020 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 [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id A206419F4D for ; Fri, 1 May 2020 20:58:02 +0000 (UTC) Received: (qmail 43980 invoked by uid 500); 1 May 2020 20:58:02 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 43953 invoked by uid 500); 1 May 2020 20:58:02 -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 43938 invoked by uid 99); 1 May 2020 20:58:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2020 20:58:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 60828E3149 for ; Fri, 1 May 2020 20:58:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 31B4A7808F6 for ; Fri, 1 May 2020 20:58:00 +0000 (UTC) Date: Fri, 1 May 2020 20:58:00 +0000 (UTC) From: "Panagiotis Garefalakis (Jira)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-23345) INT64 Parquet timestamps cannot be read into bigint Hive type 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-23345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Panagiotis Garefalakis updated HIVE-23345: ------------------------------------------ Attachment: (was: HIVE-23345.01.patch) > INT64 Parquet timestamps cannot be read into bigint Hive type > ------------------------------------------------------------- > > Key: HIVE-23345 > URL: https://issues.apache.org/jira/browse/HIVE-23345 > Project: Hive > Issue Type: Bug > Affects Versions: 4.0.0 > Reporter: Marta Kuczora > Assignee: Panagiotis Garefalakis > Priority: Major > Labels: pull-request-available > Attachments: HIVE-23345.01.patch > > Time Spent: 10m > Remaining Estimate: 0h > > How to reproduce: > - create external table ts_pq (ts timestamp) stored as parquet; > - insert into ts_pq values ('1998-10-03 09:58:31.231'); > - create external table ts_pq_2 (ts bigint) stored as parquet location ''; > - select * from ts_pq_2; > The following exception occurs during the select: > Failed with exception java.io.IOException:org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.ClassCastException: org.apache.hadoop.hive.serde2.io.TimestampWritableV2 cannot be cast to org.apache.hadoop.io.LongWritable -- This message was sent by Atlassian Jira (v8.3.4#803005)