You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vikram Ahuja (Jira)" <ji...@apache.org> on 2022/11/22 05:35:00 UTC

[jira] [Assigned] (HIVE-26766) ClassCastException on select query on an external table created using JDBCStorageHandler(Mysql) with a date or timestamp column

     [ https://issues.apache.org/jira/browse/HIVE-26766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikram Ahuja reassigned HIVE-26766:
-----------------------------------

    Assignee: Vikram Ahuja

> ClassCastException on select query on an external table created using JDBCStorageHandler(Mysql) with a date or timestamp column
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-26766
>                 URL: https://issues.apache.org/jira/browse/HIVE-26766
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Vikram Ahuja
>            Assignee: Vikram Ahuja
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Select queries are failing on an external table created using JDBCStorageHandler(using Mysql) if a date or timestamp column is present with the exception: java.lang.ClassCastException: java.sql.Timestamp cannot be cast to org.apache.hadoop.hive.common.type.Timestamp
> Works fine with other data type



--
This message was sent by Atlassian Jira
(v8.20.10#820010)