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)