hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20607) TxnHandler should use PreparedStatement to execute direct SQL queries.
Date Sun, 23 Sep 2018 09:16:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-20607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16625043#comment-16625043
] 

Hive QA commented on HIVE-20607:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12940890/HIVE-20607.01.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 14993 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.metastore.TestCatalogNonDefaultClient.listPartitions (batchId=219)
org.apache.hive.jdbc.TestJdbcWithMiniLlapArrow.testKillQuery (batchId=251)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/13996/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13996/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13996/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12940890 - PreCommit-HIVE-Build

> 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: 4.0.0
>            Reporter: Sankar Hariappan
>            Assignee: Sankar Hariappan
>            Priority: Major
>              Labels: ACID, pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: 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
(v7.6.3#76005)

Mime
View raw message