You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/05/01 13:27:00 UTC

[jira] [Work logged] (HIVE-23345) INT64 Parquet timestamps cannot be read into bigint Hive type

     [ https://issues.apache.org/jira/browse/HIVE-23345?focusedWorklogId=429477&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-429477 ]

ASF GitHub Bot logged work on HIVE-23345:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/May/20 13:26
            Start Date: 01/May/20 13:26
    Worklog Time Spent: 10m 
      Work Description: pgaref opened a new pull request #1001:
URL: https://github.com/apache/hive/pull/1001


   Enable Parquet timestamps types (INT64 and INT96) conversion to Hive BIGINT type
   
   Adding test cases
   
   Change-Id: I8666a95cc7ff7495a86b960c2ea173cd875bfa4f


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 429477)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>         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 '<location of ts_pq>';
> - 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)