You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2011/03/19 01:31:29 UTC

[jira] Commented: (HIVE-2062) HivePreparedStatement.executeImmediate always throw exception

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

Namit Jain commented on HIVE-2062:
----------------------------------

+1

> HivePreparedStatement.executeImmediate always throw exception
> -------------------------------------------------------------
>
>                 Key: HIVE-2062
>                 URL: https://issues.apache.org/jira/browse/HIVE-2062
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 0.7.0
>            Reporter: Alexey Diomin
>            Assignee: Alexey Diomin
>            Priority: Critical
>         Attachments: HIVE-2062.patch
>
>
> executeImmediate:
> try {
>   clearWarnings();
>   resultSet = null;
>   client.execute(sql);
> }
> but:
>   public void clearWarnings() throws SQLException {
>     // TODO Auto-generated method stub
>     throw new SQLException("Method not supported");
>   }
> in result all calls executeQuery() for prepared statement return exception

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira