[
https://issues.apache.org/jira/browse/HIVE-20607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17554996#comment-17554996
]
Zoltan Haindrich commented on HIVE-20607:
-----------------------------------------
This patch is on branch-3 via [this
commit|https://github.com/apache/hive/commit/09b92d3c864b00df99923f03a843a8179bd874a0];
I don't think we have a 3.2.1 release - or even 3.2.0; I don't see any traces
of that ; we also don't even have a branch-3.2 right now.
3.2.0 is an [unreleased
version|https://issues.apache.org/jira/projects/HIVE/versions/12343559] - I
would recommend to use 4.0.0-alpha-1 which contains this fix.
> TxnHandler should use PreparedStatement to execute direct SQL queries.
> ----------------------------------------------------------------------
>
> Key: HIVE-20607
> URL: https://issues.apache.org/jira/browse/HIVE-20607
> Project: Hive
> Issue Type: Bug
> Components: Standalone Metastore, Transactions
> Affects Versions: 3.1.0, 4.0.0
> Reporter: Sankar Hariappan
> Assignee: Sankar Hariappan
> Priority: Major
> Labels: ACID, pull-request-available
> Fix For: 3.2.0, 4.0.0, 4.0.0-alpha-1
>
> Attachments: HIVE-20607.01-branch-3.patch, HIVE-20607.01.patch
>
>
> TxnHandler uses direct SQL queries to operate on Txn related databases/tables
> in Hive metastore RDBMS.
> Most of the methods are direct calls from Metastore api which should be
> directly append input string arguments to the SQL string.
> Need to use parameterised PreparedStatement object to set these arguments.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)