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/23 14:03:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17637775#comment-17637775 ]
Vikram Ahuja commented on HIVE-26766:
-------------------------------------
This issue was fixed in : https://issues.apache.org/jira/browse/HIVE-22433
Closing this
> 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: 0.5h
> 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)