You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Yu-Wen Lai (Jira)" <ji...@apache.org> on 2022/03/16 18:47:00 UTC
[jira] [Created] (HIVE-26041) Fix wrong type supplied for getLatestCommittedCompaction
Yu-Wen Lai created HIVE-26041:
---------------------------------
Summary: 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
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)