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 2022/03/16 18:57:00 UTC
[jira] [Updated] (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 ]
ASF GitHub Bot updated HIVE-26041:
----------------------------------
Labels: pull-request-available (was: )
> 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: 10m
> 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)