You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Yu-Wen Lai (Jira)" <ji...@apache.org> on 2022/03/28 17:40:00 UTC

[jira] [Resolved] (HIVE-26041) Fix wrong type supplied for getLatestCommittedCompaction

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

Yu-Wen Lai resolved HIVE-26041.
-------------------------------
    Resolution: Fixed

> Fix wrong type supplied for getLatestCommittedCompaction
> --------------------------------------------------------
>
>                 Key: HIVE-26041
>                 URL: https://issues.apache.org/jira/browse/HIVE-26041
>             Project: Hive
>          Issue Type: Bug
>          Components: Standalone Metastore
>            Reporter: Yu-Wen Lai
>            Assignee: Yu-Wen Lai
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> In HIVE-25753, we filter compactions by CC_ID, but I used string type as the parameter for the prepared statement. That cause a type error on some databases (at least failed on PostgreSQL).
> To correctly handle the filter, we should useĀ 
> {code:java}
> preparedStatement.setLong(...){code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)